private void OnUnFreezeGame(UnFreezeGame F) { Main_Character.GetComponent <Animator>().enabled = true; Main_Character.GetComponent <MainCharacterHorizontalMovement>().enabled = true; Main_Character.GetComponent <Character_Jump>().enabled = true; Main_Character.GetComponent <Character_Climb>().enabled = true; Main_Character.GetComponent <Dash_To_Fairy>().enabled = true; Main_Character.GetComponent <Slash>().enabled = true; Main_Character.GetComponent <CharacterMove>().enabled = true; Fairy.GetComponent <Animator>().enabled = true; Fairy.GetComponent <FairyHorizontalMovement>().enabled = true; Fairy.GetComponent <Character_Jump>().enabled = true; Fairy.GetComponent <Float>().enabled = true; Fairy.GetComponent <Float_Point>().enabled = true; if (GetComponent <Level_Manager>().LevelIndex >= ArrowUnlockLevel) { Fairy.GetComponent <ShootArrow>().enabled = true; } Fairy.GetComponent <CharacterMove>().enabled = true; }
private void OnUnFreezeGame(UnFreezeGame F) { Frozen = false; GetComponent <ParticleSystem>().Play(true); }