mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:27:39 +02:00
basic controller input from JSL
may need compiles for linux and mac
This commit is contained in:
@ -198,6 +198,8 @@ namespace HeavenStudio
|
||||
// LateUpdate works a bit better(?) but causes some bugs (like issues with bop animations).
|
||||
private void Update()
|
||||
{
|
||||
PlayerInput.UpdateJoyShocks();
|
||||
|
||||
if (BeatmapEntities() < 1) //bruh really you forgot to ckeck tempo changes
|
||||
return;
|
||||
if (!Conductor.instance.isPlaying)
|
||||
@ -526,5 +528,12 @@ namespace HeavenStudio
|
||||
{
|
||||
HeavenStudio.GameCamera.ResetAdditionalTransforms();
|
||||
}
|
||||
|
||||
void OnApplicationQuit()
|
||||
{
|
||||
Debug.Log("Disconnecting JoyShocks...");
|
||||
JSL.JslSetCallback(null);
|
||||
JSL.JslDisconnectAndDisposeAll();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user