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:
Reinier Vens 2021-02-27 20:53:36 +00:00
commit db8c3c7779
1019 changed files with 76372 additions and 110 deletions

View file

@ -0,0 +1,6 @@
#if UNITY_EDITOR_OSX || (UNITY_STANDALONE_OSX && !UNITY_EDITOR)
public partial class AkBasePathGetter
{
static string DefaultPlatformName = "Mac";
}
#endif

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ec12c54a24b9f5f4fb47ca2b339aad2e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View 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
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0581c9fda561dcd408104009e818826d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,14 @@
public partial class AkSoundEngine
{
#if UNITY_EDITOR_OSX || (UNITY_STANDALONE_OSX && !UNITY_EDITOR)
/// <summary>
/// Converts "AkOSChar*" C-strings to C# strings.
/// </summary>
/// <param name="ptr">"AkOSChar*" memory pointer passed to C# as an IntPtr.</param>
/// <returns>Converted string.</returns>
public static string StringFromIntPtrOSString(System.IntPtr ptr)
{
return StringFromIntPtrString(ptr);
}
#endif
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0373982e17b33ee44997dfa37a3f5e89
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: