Let's say I have a C# class attached to the root node of a scene called CustomSprite.
If I wanted to instance the scene that is part of a scene in C# from another class - Should I load it as a scene then cast it to the class type when instanced?
var CustomSprite = GD.Load("res://customsprite.tscn").Instance() as CustomSprite
or will just instancing the class work?
var CustomSprite = new CustomSprite()
What about if I want to have constructor parameters that distinguish behaviour in the scene object? Something like
var CustomSprite = new CustomSprite(Color color)
Which would then lead to that scene being instanced, and the scene using that parameter in some way. Like setting it's colour to the specified colour.