Initial Wwise Integration
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)
This commit is contained in:
parent
b53e4aec8c
commit
db8c3c7779
1019 changed files with 76372 additions and 110 deletions
20
Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs
Normal file
20
Assets/Wwise/Deployment/API/Handwritten/Mac/AkMacSettings.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
|
||||
public partial class AkCommonUserSettings
|
||||
{
|
||||
partial void SetSampleRate(AkPlatformInitSettings settings)
|
||||
{
|
||||
settings.uSampleRate = m_SampleRate;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public class AkMacSettings : AkWwiseInitializationSettings.CommonPlatformSettings
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[UnityEditor.InitializeOnLoadMethod]
|
||||
private static void AutomaticPlatformRegistration()
|
||||
{
|
||||
RegisterPlatformSettingsClass<AkMacSettings>("Mac");
|
||||
}
|
||||
#endif // UNITY_EDITOR
|
||||
}
|
||||
Loading…
Reference in a new issue