Exemplo n.º 1
0
        //-------------------------------------------------------------------------------
        // Sound
        //-------------------------------------------------------------------------------

        public void Sound_Play(AudioClip clip)
        {
            TargetGameObject.GetOrAddComponent <AudioSource>().PlayOneShot(clip);
        }