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(); }
private void CollisionEvent() { planeComp.ResetPlane(); movementComp.ChangeStateData(); deathComp.DeathEvent(); obstacleComp.ClearObjectsInChildren(); }