Example #1
0
 public void Awake()
 {
     _objectPool = GameObject.Find("ObjectPool").GetComponent<ObjectPool>();
     _dragPrisoner = GameObject.Find("DragObject").GetComponent<DragPrisoner>();
 }
Example #2
0
 public void Awake()
 {
     _objectPool   = GameObject.Find("ObjectPool").GetComponent <ObjectPool>();
     _dragPrisoner = GameObject.Find("DragObject").GetComponent <DragPrisoner>();
 }