void IOperatedHummerObject.Hit(Player.PlayerHummer hummer) { door.OpenDoor(); gameObject.SetActive(false); AudioManager.Instance.Play(se); hummer.ApplyDamage(10); }
void IOperatedHummerObject.Hit(Player.PlayerHummer hummer) { if (enumerator == null) { enumerator = StartCoroutine(On()); hummer.ApplyDamage(10); AudioManager.Instance.Play(se); } }
void IOperatedHummerObject.Hit(Player.PlayerHummer hummer) { if (isAnime) { return; } AudioManager.Instance.Play(se); foreach (var block in list) { block.Change(); } hummer.ApplyDamage(10); StartCoroutine(HitAnime()); }
void Start() { playerHummer = transform.GetComponentInChildren <PlayerHummer>(true); playerMove = GetComponent <PlayerMove>(); playerCore = GetComponent <PlayerCore>(); }
void IOperatedHummerObject.Hit(Player.PlayerHummer hummer) { MoveBlock(movevalue); hummer.ApplyDamage(20); }
void IOperatedHummerObject.Hit(Player.PlayerHummer hummer) { hummer.ApplyDamage(20, false); }