I have a BattleComponent in a different scene (I teleport to the battle, and from the battle as described in http://orkframework.com/tutorial/gameplay/battle-in-a-different-scene/), but unfortunately when the battle ends and I get taken back to my main menu the gameobject travels with me (it doesn't get destroyed). This leads me to the problem of the next time I teleport to that scene I now have two BattleComponents. I want the ability to repeat the fight, but only have one BattleComponent .
So - I should note that I have temporarily fixed this issue by modifying my events to look similar to this (http://puu.sh/oolYw/3eabdaaff7.png), but ideally I wouldn't have to do that since I don't want the overhead of searching every object and then waiting and then deleting it.
Battle components (or their game objects) aren't destroyed after battle, if you want to destroy them, just do it like you did in your event.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!