Exemple #1
0
 void Awake()
 {
     chance    = GetComponent <Text>();
     chanceVal = 0;
     ChancesLeft.resetChances();
 }
Exemple #2
0
 // Update is called once per frame
 void Update()
 {
     chance.text = "Chances: " + ChancesLeft.getChancesLeft().ToString();
 }
Exemple #3
0
 void OnMouseDown()
 {
     SceneManager.LoadSceneAsync("DimensionScene");
     ChancesLeft.resetChances();
 }
 public void failThrow()
 {
     ChancesLeft.decrementChance();
     substate = NextIceCube.state.fail;
 }
Exemple #5
0
 // Use this for initialization
 void Start()
 {
     StartCoroutine("LoseTime");
     ChancesLeft.infiniteChances();
 }