Hi,
Is it possible to simply create a duplicate of a game object during runtime, along with all it's child objects and all parameters of it's components?
What I am doing is loading in game objects by merging scenes, but in some cases I would need 2 of some of those game objects.
I searched but could not find anything, like a PlayMaker action to do this duplication.
Action would simply: duplicate game object stored in variable, and save newly created object in another variable.
Am I dreaming?
Instead this, I believe I could use a bunch of get component, get property and set property actions, add FSMs to them, etc. but that could get complicated ... for me.
Or I could save each different object (I'll eventually have hundreds) into prefabs and simply spawn 2 of each, where required.
Then I would not need the whole: loading them by merging a level part, but spawning many prefabs does have a huge hit on performance.
Please shed some light, how I should proceed or share your experience/solution to similar problem.
Br,
szomaza