mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix incorrect C# example using _GetConfigurationWarnings
This commit is contained in:
@@ -108,11 +108,13 @@ access.
|
||||
};
|
||||
|
||||
// Warn users if the value hasn't been set.
|
||||
public String _GetConfigurationWarnings()
|
||||
public string[] _GetConfigurationWarnings()
|
||||
{
|
||||
if (EnemyScn == null)
|
||||
return "Must initialize property 'EnemyScn'.";
|
||||
return "";
|
||||
{
|
||||
return new string[] { "Must initialize property 'EnemyScn'." };
|
||||
}
|
||||
return Array.Empty<string>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user