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