Hey there.
I have some certain prefabs. For Example Items which the Player can collect. If he/she does so, then the Item will disappear in the Scene. There's no problem.
But, as soon he takes the Item, the Inventory shall get this Item, too, as a little Icon. This Icon is a prefab. Now, when i use the "Create Object"-Action it creates the object, obviously, but NOT as child of the Inventory-Menu. How can i accomplish that via FSM?
I already tried the "Set Parent"-Function, but i only get this error:
InvalidOperationException: Operation is not valid due to the current state of the object