mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 16:34:41 +01:00
15 lines
269 B
C#
15 lines
269 B
C#
using UnityEngine;
|
|
|
|
[AddComponentMenu("Wwise/AkState")]
|
|
public class AkState : AkUnityEventHandler
|
|
{
|
|
public int groupID;
|
|
|
|
public int valueID;
|
|
|
|
public override void HandleEvent(GameObject in_gameObject)
|
|
{
|
|
AkSoundEngine.SetState((uint)groupID, (uint)valueID);
|
|
}
|
|
}
|