// Use this for initialization void Start() { //players = new GameObject[4]; DPC = FindObjectOfType<DynamicPlayerCount>(); }
void Awake() { if (Original) { DestroyImmediate(gameObject); } else { DontDestroyOnLoad(gameObject); Original = this; } }
// Use this for initialization void Start() { DPC = FindObjectOfType<DynamicPlayerCount>(); }