// Use this for initialization void Start() { networkEvents = GetComponent <GameNetworkEvents>(); gameVars = GetComponent <GameVariables>(); }
// Use this for initialization void Start() { networkEvents = transform.GetChild(0).GetComponent <GameNetworkEvents>(); gameVars = transform.GetChild(0).GetComponent <GameVariables>(); }