レッスン 4

目次

Eventをアニメーションからポストする: PostWwiseEvent

(参照: Eventをアニメーションからポストする

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PostWwiseEvent : MonoBehaviour {
    public AK.Wwise.Event MyEvent;
    // Use this for initialization..
    public void PlayFootstepSound() {
        MyEvent.Post(gameObject);
    }
}


このページはお役に立ちましたか?