// Use this for initialization
 void Start()
 {
     plDum = this.gameObject;
     anim = new AnimControl_Monster(name_monster, type, this.gameObject);
     curTr = plDum.transform;
     prevPos = curTr.position;
     GetComponent<NavMeshAgent>().updateRotation = false;
 }
Exemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        rigid = gameObject.GetComponent<Rigidbody>();
            anim_player = new AnimControl_Player(this.gameObject);

            anim_monster = new AnimControl_Monster("monla", 1, this.gameObject);
    }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     anim = new AnimControl_Monster(name_monster, type, this.gameObject);
 }