public void Awake() { _objectPool = GameObject.Find("ObjectPool").GetComponent<ObjectPool>(); _dragPrisoner = GameObject.Find("DragObject").GetComponent<DragPrisoner>(); }
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>(); }