Exemplo n.º 1
0
        public MoveableBox(GameObject gameObject) : base(gameObject)
        {

            transform = gameObject.Transform;
            animator = (Animator)GameObject.GetComponent("Animator");

        }
Exemplo n.º 2
0
 public Move(Animator animator, Transform transform)
 {
     this.animator = animator;
     this.transform = transform;
 }
Exemplo n.º 3
0
 public Idle(Animator animator, Transform transform)
 {
     this.transform = transform;
     this.animator = animator;
 }
Exemplo n.º 4
0
 public Player(GameObject gameObject) : base (gameObject)
 {
     animator = (Animator)GameObject.GetComponent("Animator");
     transform = gameObject.Transform;
 }
Exemplo n.º 5
0
 public Door(GameObject gameObject, string name) : base(gameObject)
 {
     this.Name = name;
     transform = gameObject.Transform;
     animator = (Animator)GameObject.GetComponent("Animator");
 }