Hi everyone,
I got this errors in Unity with a wwise script :
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,12): warning CS0618: `UnityEditor.Handles.DrawCapFunction' is obsolete: `This delegate is obsolete. Use CapFunction instead.'
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,46): warning CS0618: `UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete: `Use SphereHandleCap instead'
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(237,12): warning CS0618: `UnityEditor.Handles.ScaleValueHandle(float, UnityEngine.Vector3, UnityEngine.Quaternion, float, UnityEditor.Handles.DrawCapFunction, float)' is obsolete: `DrawCapFunction is obsolete. Use the version with CapFunction instead. Example: Change SphereCap to SphereHandleCap.'
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(351,12): warning CS0618: `UnityEditor.Handles.SphereCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete: `Use SphereHandleCap instead'
so following this link, I tried to replace it, following carefully the replacement names but I'm doing it wrong because I get this :
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,18): error CS0103: The name `SphereHandleCap' does not exist in the current context
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(236,4): error CS0103: The name `CapFunction' does not exist in the current context
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(237,70): error CS0103: The name `CapFunction' does not exist in the current context
Assets/Wwise/Editor/WwiseComponents/AkAmbientInspector.cs(351,4): error CS0103: The name `SphereHandleCap' does not exist in the current context
is there a simpler workaround like maybe an update of wwise to do ?
I'm using unity 5.6 and wwise 2016.2.2
thank you,