/// <summary> /// Creates and intilizses the players and the gameboard /// </summary> public void Awake() { WriteToLog("Start Of Session"); m_GoNode = transform.FindChild("Go").GetComponent <Go>(); m_Canvas = GameObject.Find("Canvas").gameObject; //Creates the players and sets their position on Go foreach (var m_TempPlayer in m_Players) { m_TempPlayer.transform.position = m_GoNode.GetPointInRect(m_TempPlayer.transform.localScale.x * 0.5f, m_TempPlayer.transform.localScale.z * 0.5f); m_TempPlayer.m_CurrentNode = m_GoNode; } }