private void OnTriggerEnter(Collider other) { if (other.GetComponent <Player>() != null) { if (myTurn) { if (!active) { active = true; Singleton.ActiveNext(); } } } }
private void OnTriggerEnter(Collider other) { if (other.GetComponent <Player>() != null) { if (myTurn) { if (!active) { active = true; Singleton.ActiveNext(); } } } }