Example #1
0
 void Start()
 {
     fill.fillAmount = initialValue;
     probCalculator  = ProbCalculator.instance;
 }
Example #2
0
 void Start()
 {
     fill.fillAmount = initialValue;
     probCalculator = ProbCalculator.instance;
 }
Example #3
0
 void Start()
 {
     probs = ProbCalculator.instance;
     int targetAnim = probs.GetCurrMachineIndex ();
     if(targetAnim >= gkAnim.Length)
     {
         targetAnim = gkAnim.Length - 1;
     }
     centerStateHash = gkAnim[targetAnim].gk.GetCurrentAnimatorStateInfo(0).shortNameHash;
     currentState = centerStateHash;
 }
Example #4
0
 void Start()
 {
     probCalculator = ProbCalculator.instance;
     uiManager = UIManager.instance;
     //		versusModeManager = VersusMode.instance;
     intro.SetActive(true);
     introMenu.SetActive(true);
     //		versusMode.SetActive(false);
     gameModeMenu.SetActive(false);
     betweenLevels.SetActive(false);
     gameCanvas.interactable = false;
     game.SetActive(false);
     quitGameMenu.SetActive (false);
 }