void Awake() { playerStatistics = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerStatistics>(); makeDecision = GameObject.Find("GameManager").GetComponent<DecisionNetwork.MakeDecision>(); mainMenuRects[0] = new Rect(750, 310, 400, 100); mainMenuRects[1] = new Rect(750, 436, 400, 100); mainMenuRects[2] = new Rect(750, 562, 400, 100); mainMenuRects[3] = new Rect(750, 688, 400, 100); newMainMenuRects[0] = new Rect(170, 310, 400, 100); newMainMenuRects[1] = new Rect(170, 436, 400, 100); newMainMenuRects[2] = new Rect(170, 562, 400, 100); newMainMenuRects[3] = new Rect(170, 688, 400, 100); }
void Awake() { makeDecision = GameObject.Find("GameManager").GetComponent<DecisionNetwork.MakeDecision>(); playerStatistics = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerStatistics>(); actionHashes = new Hashtable(); }