Exemplo n.º 1
0
 protected override void SetDefaults()
 {
     base.SetDefaults();
     targetMoveCtrlMc = null;
     target           = null;
     anim             = this.gameObject.GetComponent <Animator>();
 }
Exemplo n.º 2
0
 public void FollowMc()
 {
     targetMoveCtrlMc = FindObjectOfType <MovementControllerMc>();
     target           = targetMoveCtrlMc.gameObject;
 }