#Hello!
1 messages · Page 1 of 1 (latest)
are you missing a factory for it?
😄
Asset Definition is just info about the asset
the Factory is what is used to construct it, and also put it in the menu
Aaah I see. I was looking at the factory code just right now for state trees. Since mine is an extension I guess it should be fine to create my own inheriting form the original?
My question is: where is the factory being used? Do I simply create one, specify which class should it use (my custom state tree) and that's it? Automatically works?
Thanks a lot for the help btw
its automatic
Brilliant. Thanks a lot!
There's something I don't understand
and also put it in the menu
I'm looking into StateTreeFactory and I don't see anything there that will indicate to add the asset to the menus in question.
The only place where I stated any categories in in the Asset Definition, so I'm a bit confused about how these 2 things (Factory and Definition) are working with each other