int currentOperator; //We have scoreboards for every operator type. // Use this for initialization void Start() { monsterManager = FindObjectOfType <endlessMonsterManager>(); changeType(); displayHighScores(0); }
//Can't have duplicate buttons, can't have negative modifier if our modifier is 0. internal bool checkIfLocked(endlessMonsterManager manager) { if (locked) { return(true); } if (modifierChange < 0 && ((modifierChange * -1) > manager.Modifier)) { locked = true; return(true); } return(false); }
// Use this for initialization void Start() { endlessMonster = FindObjectOfType <endlessMonsterManager>(); GetComponentInChildren <Text>().text = DisplayText(); }