예제 #1
0
 void Start()
 {
     mobAnimator = GetComponent <Animator>();
     rb          = this.GetComponent <Rigidbody2D>();
     targetPos   = MobManager.GetPlayerPosition();
 }
예제 #2
0
 private void Awake()
 {
     targetPos = MobManager.GetPlayerPosition();
 }