// Use this for initialization void Start() { if (instance != null) { Debug.LogError("Already have an instance lol"); } else { instance = this; } orbs = new List <GameObject>(); foreach (Transform child in transform) { orbs.Add(child.gameObject); } }
void Awake() { Instance = this; pooledOrbs = new List <GameObject>(); }