Exemplo n.º 1
0
 public void ProgressForm() //Progresses the players form. Called when the player makes it through a stage without colliding
 {
     //Debug.Log("THIS IS CALLED");
     MoveProgressionObstacle();
     planeComp.ResetPlane();
     movementComp.ChangeStateData();
     deathComp.DeathEvent();
     obstacleComp.ClearObjectsInChildren();
     followComp.formTimer = 0f;
     followComp.ResetBools();
 }
Exemplo n.º 2
0
 private void CollisionEvent()
 {
     planeComp.ResetPlane();
     movementComp.ChangeStateData();
     deathComp.DeathEvent();
     obstacleComp.ClearObjectsInChildren();
 }