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
|
|
@ -0,0 +1,6 @@
|
|||
#if UNITY_EDITOR_OSX || (UNITY_STANDALONE_OSX && !UNITY_EDITOR)
|
||||
public partial class AkBasePathGetter
|
||||
{
|
||||
static string DefaultPlatformName = "Mac";
|
||||
}
|
||||
#endif
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ec12c54a24b9f5f4fb47ca2b339aad2e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
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
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0581c9fda561dcd408104009e818826d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
14
Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs
Normal file
14
Assets/Wwise/Deployment/API/Handwritten/Mac/AkSoundEngine.cs
Normal 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
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0373982e17b33ee44997dfa37a3f5e89
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Reference in a new issue