void Awake() { player1 = GameObject.Find("Player1"); player2 = GameObject.Find("Player2"); p2controll = player2.GetComponent <p2Controller> (); player1Stats = GameObject.Find("P1StatSceneManager"); p1Stats = player1Stats.GetComponent <p1StatsCalc> (); }
void Awake() { player1Stats = GameObject.Find("P1StatSceneManager"); p1Stats = player1Stats.GetComponent <p1StatsCalc> (); }