void Start() { fill.fillAmount = initialValue; probCalculator = ProbCalculator.instance; }
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; }
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); }