GameSystem en Singleton + début timer service + Slow-mode
This commit is contained in:
parent
f37d3ffcd1
commit
4099e2908f
3 changed files with 120 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue