Change return type of get_configuration_warnings to PackedStringArray
This commit is contained in:
@@ -242,8 +242,8 @@ bool CPUParticles2D::get_fractional_delta() const {
|
||||
return fractional_delta;
|
||||
}
|
||||
|
||||
TypedArray<String> CPUParticles2D::get_configuration_warnings() const {
|
||||
TypedArray<String> warnings = Node2D::get_configuration_warnings();
|
||||
PackedStringArray CPUParticles2D::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = Node2D::get_configuration_warnings();
|
||||
|
||||
CanvasItemMaterial *mat = Object::cast_to<CanvasItemMaterial>(get_material().ptr());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user