Пример #1
0
        public TAudio Add(GameObject obj, eAudio kind)
        {
            if (obj == null)
            {
                return(null);
            }

            TAudio audio = new TAudio(this, kind, obj);

            if (mContainer != null)
            {
                mContainer.Add(audio);
            }
            return(audio);
        }