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