public MoveableBox(GameObject gameObject) : base(gameObject) { transform = gameObject.Transform; animator = (Animator)GameObject.GetComponent("Animator"); }
public Move(Animator animator, Transform transform) { this.animator = animator; this.transform = transform; }
public Idle(Animator animator, Transform transform) { this.transform = transform; this.animator = animator; }
public Player(GameObject gameObject) : base (gameObject) { animator = (Animator)GameObject.GetComponent("Animator"); transform = gameObject.Transform; }
public Door(GameObject gameObject, string name) : base(gameObject) { this.Name = name; transform = gameObject.Transform; animator = (Animator)GameObject.GetComponent("Animator"); }