menu (1 or 2 Player) and escape
This commit is contained in:
@@ -30,6 +30,11 @@ public class BearAwareness : MonoBehaviour
|
||||
private void Update()
|
||||
{
|
||||
ChangeSliderColor();
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
|
||||
void IncreaseAwareness(int noice)
|
||||
@@ -76,4 +81,5 @@ public class BearAwareness : MonoBehaviour
|
||||
SilderColor.color = Color.darkGreen;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user