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)
20 lines
505 B
C#
20 lines
505 B
C#
#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
|
|
}
|