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,14 @@
|
|||
public partial class AkSoundEngine
|
||||
{
|
||||
#if UNITY_EDITOR_WIN || (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_WSA
|
||||
/// <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 StringFromIntPtrWString(ptr);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Loading…
Reference in a new issue