public void StageStarting(State_LifeForm_Growing NewStage) { DeactivateAll(); if (NewStage.StageNumber != deathStageNumber) { SetObjectIfPossible(NewStage.StageNumber); } }
// Update is called once per frame void Update() { timer.Tick(); // Cheat code if (Input.GetKey(KeyCode.P) && Input.GetKeyDown(KeyCode.K)) { State_LifeForm_Growing GrowingState = stateMachine.GetState() as State_LifeForm_Growing; if (GrowingState != null) { GrowingState.HandlePuzzleCompleted(this); } } }
public void ResetWithSource(State_LifeForm_Growing Source) { Reset(); }