コード例 #1
0
 void PlayClip(AudioClip clip, int startSample = 0, bool loop = false)
 {
     AudioUtil.StopAllPreviewClips();
     AudioUtil.PlayPreviewClip(clip, startSample, loop);
     m_Clip            = clip;
     s_PlayingInstance = this;
 }