GodotSharp.SourceGenerators
GodotSharp.SourceGenerators copied to clipboard
[OnInstantiate] does not support default parameters
For example
private Node _target;
private bool _animate;
[OnInstantiate]
private void Init(Node target = null, bool animate = true)
{
_target = target;
_animate = animate;
}