GameSystem en Singleton + début timer service + Slow-mode

This commit is contained in:
Antoine H 2020-12-14 16:23:54 +01:00
parent f37d3ffcd1
commit 4099e2908f
3 changed files with 120 additions and 1 deletions

View file

@ -66,6 +66,8 @@ public class Tavernkeeper_controller : MonoBehaviour
{"left", null},
{"right", null}
};
// GameSystem.Instance.startService();
}
// Update is called once per frame
@ -89,7 +91,6 @@ public class Tavernkeeper_controller : MonoBehaviour
animator.SetFloat("Speed", move.magnitude);
//Actions delay
actionTimer -= Time.deltaTime;
if(isInteracting)
{
actionTimer -= Time.deltaTime;