Skip to content

Commit

Permalink
Fix incorrect C# example using _GetConfigurationWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kleonc committed Nov 1, 2023
1 parent 56d0a58 commit 3ba9e3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tutorials/best_practices/godot_interfaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ 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 { "Must initialize property 'EnemyScn'." };
return { "" };
}
}

Expand Down

0 comments on commit 3ba9e3b

Please sign in to comment.