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