Example #1
0
 //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
 }
Example #2
0
    IAlevel level;             //Stores the level

    public void Load(IAlevel level, ActiveBattle activeBattle)
    {
        this.level        = level;
        this.activeBattle = activeBattle;
    }