GodotSharp.SourceGenerators icon indicating copy to clipboard operation
GodotSharp.SourceGenerators copied to clipboard

[OnInstantiate] does not support default parameters

Open valkyrienyanko opened this issue 4 months ago • 0 comments

For example

private Node _target;
private bool _animate;

[OnInstantiate]
private void Init(Node target = null, bool animate = true)
{
    _target = target;
    _animate = animate;
}

valkyrienyanko avatar Sep 30 '24 01:09 valkyrienyanko