Lesson 4

Table of Contents

Posting Events from Animations: PostWwiseEvent

(go to Posting Events from Animations)

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);
    }
}


Was this page helpful?