レッスン 5
目次
(参照: SwitchをWwise-Typeで設定する)
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PostWwiseEvent : MonoBehaviour { public AK.Wwise.Event MyEvent; public void PlayFootstepSound(){ PlayerManager.foot_L.GetMaterial().SetValue(gameObject); MyEvent.Post(gameObject); } // Update is called once per frame. void Update () { } }