void Start() { mobAnimator = GetComponent <Animator>(); rb = this.GetComponent <Rigidbody2D>(); targetPos = MobManager.GetPlayerPosition(); }
private void Awake() { targetPos = MobManager.GetPlayerPosition(); }
void Start() { mobAnimator = GetComponent <Animator>(); rb = this.GetComponent <Rigidbody2D>(); targetPos = MobManager.GetPlayerPosition(); }
private void Awake() { targetPos = MobManager.GetPlayerPosition(); }