Hi all :)
I need to relocate battle to different part of scene. Not to another scene, but to special place in scene.
For example - when i'm generating level, i'm placing new prefab BattleRoom. And I want when player starting new Turn Based battle player group and opponent group be moved to that BattleRoom.
Thank you in advance!
It's simply a matter of designating them to the proper coordinates in global space.
If by "generating level" you mean you are having levels spawn dynamically at runtime,
then you can just place an empty game object in the middle of the BattleRoom prefab and
designate your battle positions relative to that.
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames
I added battle component to BattleRoom prefab with defined positions, and it worked perfectly!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!