private void CompletedLevel()
    {
        CompletedFloorAction?.Invoke(); //fire the event

        AddReward(1f);
        floorBuilder.IncrementFloorNumber();
        episodeTime += floorTimeBonus;
        AgentNewFloor();
    }
Exemple #2
0
 public void GoToNextFloor()
 {
     floorBuilder.IncrementFloorNumber();
     floorBuilder.agent.GetComponent <ObstacleTowerAgent>().AgentNewFloor();
 }