コード例 #1
0
 public void PlaySE( CLIP_TYPE _type)
 {
     if( m_source == null )
     {
         return;
     }
     var s = m_source;
     s.clip = m_clips[(int)_type];
     s.loop = false;
     s.Play();
 }
コード例 #2
0
 public void PlaySE( CLIP_TYPE _type, float _delay)
 {
     if( m_emptyList.Count < 1 )
     {
         return;
     }
     var s = m_emptyList.Dequeue();
     s.clip = m_clips[(int)_type];
     s.loop = false;
     s.PlayDelayed(  _delay );
 }
コード例 #3
0
 public float GetClipLength( CLIP_TYPE _type ){ return m_clips[ (int)_type].length; }