目录
(转到“通过动画发送 Event”)
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PostWwiseEvent : MonoBehaviour { public AK.Wwise.Event MyEvent; // 使用此函数进行初始化。 public void PlayFootstepSound() { MyEvent.Post(gameObject); } }