Add basic intro countdown and game states
This commit is contained in:
parent
89e482d387
commit
15abaa80fa
10 changed files with 740 additions and 6 deletions
|
@ -34,14 +34,19 @@ public class Player : MonoBehaviour, IKitchenObjectParent
|
|||
|
||||
private void GameInput_OnInteractAlteranteAction(object sender, EventArgs e)
|
||||
{
|
||||
if (GameStateManager.Instace.IsGamePlaying()) return;
|
||||
|
||||
if (selectedCounter != null)
|
||||
{
|
||||
selectedCounter.InteractAlternate(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void GameInput_OnInteractAction(object sender, System.EventArgs e)
|
||||
{
|
||||
if (GameStateManager.Instace.IsGamePlaying()) return;
|
||||
|
||||
if (selectedCounter != null)
|
||||
{
|
||||
selectedCounter.Interact(this);
|
||||
|
|
Reference in a new issue