void Awake() { if (instance == null) { instance = this; } poolScript = GameObject.FindGameObjectWithTag("Data").GetComponent <PoolObjectScript>(); }
void Awake() { if (instance != null) { return; } instance = this; }
void Awake() { poolScript = GameObject.FindGameObjectWithTag("Data").GetComponent <PoolObjectScript>(); }