how would one go for such serialization to assign objects directly on unity e.g.
@serializeable(MyGeneratedComponent)
mycomponentArray?: MyGeneratedComponent;
by user 262331051802755072
how would one go for such serialization to assign objects directly on unity e.g.
@serializeable(MyGeneratedComponent)
mycomponentArray?: MyGeneratedComponent;
by user 262331051802755072
You write it without the array syntax, like so: @serializable(MyComp)
And if you just created MyGeneratedComponent you might need to set the types dirty (you can do it by holding ALT and then clicking play on the ExportInfo component)