Beispiel #1
0
 private static AudioHandler InstantiateAudioObject()
 {
     return(AudioPool.SpawnAudioHandlerl());
 }
Beispiel #2
0
 /// <summary>
 /// 在指定位置生成音效物体并增加音效脚本
 /// </summary>
 /// <param name="pos">坐标</param>
 /// <returns></returns>
 private static AudioHandler InstantiateAudioObject(Vector3 pos)
 {
     return(AudioPool.SpawnAudioHandlerl(pos));
 }