Пример #1
0
    public void NoticeSound(IFloorable target)
    {
        emoticonLove.SetActive(false);
        emoticonScared.SetActive(false);
        emoticonHostile.SetActive(false);
        StopAllCoroutines();
        Vector2 destination = target.GetPos();
        Floor   targetFloor = target.GetFloor();

        StartCoroutine(ChaseSound(destination, targetFloor));
    }
Пример #2
0
 public void NoticeSound(IFloorable target)
 {
     emoticonLove.SetActive(false);
     emoticonScared.SetActive(false);
     emoticonHostile.SetActive(false);
     StopAllCoroutines();
     Vector2 destination = target.GetPos();
     Floor targetFloor = target.GetFloor();
     StartCoroutine(ChaseSound(destination, targetFloor));
 }