예제 #1
0
 public void Awake()
 {
     _objectPool = GameObject.Find("ObjectPool").GetComponent<ObjectPool>();
     _dragPrisoner = GameObject.Find("DragObject").GetComponent<DragPrisoner>();
 }
예제 #2
0
 public void Awake()
 {
     _objectPool = GameObject.Find("ObjectPool").GetComponent<ObjectPool>();
     _animator = GetComponent<Animator>();
     _timer = Random.Range(0, 30);
 }
예제 #3
0
 public void Start()
 {
     _objectPool = GameObject.Find("ObjectPool").GetComponent<ObjectPool>();
 }