You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing about nested prefabs.
So I have a ScriptNode that needs to take a Sprite as argument in editor.
I have a PlayerContainer that contains that sprite and also hitboxs, hurtboxes.
I tried to make the player sprite nested prefab and pass that prefab as args to that node.
But the editor gens the code with error. Instead of "playerContainer.sprite" the editor gens "sprite"
I think that is a bug in editor that needs fixing.
Version 3.60
Description
One thing about nested prefabs.
So I have a ScriptNode that needs to take a Sprite as argument in editor.
I have a PlayerContainer that contains that sprite and also hitboxs, hurtboxes.
I tried to make the player sprite nested prefab and pass that prefab as args to that node.
But the editor gens the code with error. Instead of "playerContainer.sprite" the editor gens "sprite"
I think that is a bug in editor that needs fixing.
Discord Message Link:
https://discord.com/channels/692441121317715999/729142563273179186/1107659781373702236
Possible solution
Make the code generator gen the path of the nested prefab.
The text was updated successfully, but these errors were encountered: