Пример #1
0
        public void PlayLaughSound(bool isEvil)
        {
            if (isEvil)
            {
                EvilLaugh.Play();
            }

            else
            {
                Laugh.Play();
            }
        }
Пример #2
0
    void DestroyEmote()
    {
        Laugh laugh = GameObject.Find("Laugh").GetComponent <Laugh>();

        laugh.SelfDestroy();
    }