Example #1
0
        public SE Add(string fileFullPath)
        {
            SE _se = null;

            _se = new SE(fileFullPath);
            this.SEClipsCache [NextIndex] = _se;

            NextIndex = (NextIndex + 1) % SEClipsCache.Length;
            return(_se);
        }
Example #2
0
        public SE Add(AudioClip audioclip)
        {
            SE _se = null;

            _se = new SE(audioclip);
            this.SEClipsCache [NextIndex] = _se;

            NextIndex = (NextIndex + 1) % SEClipsCache.Length;
            return(_se);
        }
Example #3
0
        public SE Add(string fileFullPath)
        {
            SE _se = null;

            _se = new SE(fileFullPath);
//      _se.SEClip.LoadAudioData ();

//      if ( this.SEClipsCache [NextIndex]!= null && this.SEClipsCache [NextIndex].SEClip != null)
//        this.SEClipsCache [NextIndex].SEClip.UnloadAudioData ();
            this.SEClipsCache [NextIndex] = _se;

            NextIndex = (NextIndex + 1) % SEClipsCache.Length;
            return(_se);
        }