예제 #1
0
 void IOperatedHummerObject.Hit(Player.PlayerHummer hummer)
 {
     door.OpenDoor();
     gameObject.SetActive(false);
     AudioManager.Instance.Play(se);
     hummer.ApplyDamage(10);
 }
예제 #2
0
 void IOperatedHummerObject.Hit(Player.PlayerHummer hummer)
 {
     if (enumerator == null)
     {
         enumerator = StartCoroutine(On());
         hummer.ApplyDamage(10);
         AudioManager.Instance.Play(se);
     }
 }
예제 #3
0
    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());
    }
예제 #4
0
 void Start()
 {
     playerHummer = transform.GetComponentInChildren <PlayerHummer>(true);
     playerMove   = GetComponent <PlayerMove>();
     playerCore   = GetComponent <PlayerCore>();
 }
예제 #5
0
 void IOperatedHummerObject.Hit(Player.PlayerHummer hummer)
 {
     MoveBlock(movevalue);
     hummer.ApplyDamage(20);
 }
예제 #6
0
 void IOperatedHummerObject.Hit(Player.PlayerHummer hummer)
 {
     hummer.ApplyDamage(20, false);
 }