Fix Audio on MacOS (and fix JSL again)

This commit is contained in:
Saraistupid 2023-01-21 04:23:51 +02:00
parent 8a9223f4fe
commit 0941bc114a
3 changed files with 10 additions and 10 deletions

Binary file not shown.

View file

@ -6,7 +6,7 @@ PluginImporter:
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isPreloaded: 1
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
@ -16,23 +16,23 @@ PluginImporter:
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Android: 0
Exclude Editor: 0
Exclude Linux64: 1
Exclude OSXUniversal: 0
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
enabled: 1
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
enabled: 1
settings: {}
- first:
Editor: Editor
@ -41,7 +41,7 @@ PluginImporter:
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: OSX
OS: AnyOS
- first:
Standalone: Linux64
second:
@ -69,7 +69,7 @@ PluginImporter:
- first:
iPhone: iOS
second:
enabled: 0
enabled: 1
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU

View file

@ -88,7 +88,7 @@ namespace HeavenStudio
public static InputController GetInputController(int player)
{
// Needed so Keyboard works on MacOS
#if UNITY_STANDALONE_OSX && UNITY_EDITOR_OSX
#if UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX
inputDevices = new List<InputController>();
if(inputDevices.Count < 1)
{
@ -120,7 +120,7 @@ namespace HeavenStudio
// Needed so Keyboard works on MacOS
#if UNITY_STANDALONE_OSX && UNITY_EDITOR_OSX
#if UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX
inputDevices = new List<InputController>();
if(inputDevices.Count < 1)
{
@ -143,7 +143,7 @@ namespace HeavenStudio
public static void UpdateInputControllers()
{
// Needed so Keyboard works on MacOS
#if UNITY_STANDALONE_OSX && UNITY_EDITOR_OSX
#if UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX
inputDevices = new List<InputController>();
if(inputDevices.Count < 1)
{