//Battle has ended, returning to game public void EndBattle(ActiveBattle script) { inCombat = false; currentBattle = GameObject.FindWithTag("Battle"); //This is the folder game.object currentSceneBattleName = sceneBattleName; activeBattleScript = script; mainCamera.enabled = true; Debug.Log("Saiu da batalha"); //Erase }
IAlevel level; //Stores the level public void Load(IAlevel level, ActiveBattle activeBattle) { this.level = level; this.activeBattle = activeBattle; }