Created wwise project Integrated inventory UI sounds Improved projectile weapon behavior (randomized start position, stopped them from self-destructing at target range when airburst is disabled)
24 lines
663 B
C#
24 lines
663 B
C#
#if UNITY_EDITOR
|
|
//////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) 2014 Audiokinetic Inc. / All Rights Reserved
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
[UnityEditor.CanEditMultipleObjects]
|
|
[UnityEditor.CustomEditor(typeof(AkState))]
|
|
public class AkStateInspector : AkBaseInspector
|
|
{
|
|
private readonly AkUnityEventHandlerInspector m_UnityEventHandlerInspector = new AkUnityEventHandlerInspector();
|
|
|
|
private void OnEnable()
|
|
{
|
|
m_UnityEventHandlerInspector.Init(serializedObject);
|
|
}
|
|
|
|
public override void OnChildInspectorGUI()
|
|
{
|
|
m_UnityEventHandlerInspector.OnGUI();
|
|
}
|
|
}
|
|
#endif
|