private void Awake() { connectionSystem = FindObjectOfType <ConnectionSystem>(); pool = new PrefabPool(linePrefab, transform, 5); }
private void Awake() { connectionSystem = gameObject.GetComponent <ConnectionSystem>(); DotTouchIO.SelectionEnded += ClearSelectedDots; CreateDotObjects(); }