mirror of
https://github.com/OMGeeky/GameDevGameJamV2.git
synced 2025-12-27 06:29:18 +01:00
Main Menu & Pausing
This commit is contained in:
@@ -26,6 +26,9 @@ public class InputToMovement : MonoBehaviour
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if ( Time.timeScale == 0 )
|
||||
return;
|
||||
|
||||
if(controller2D.active != character.isActivePlayer)
|
||||
controller2D.active = character.isActivePlayer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user