public PlayerAnimationFsm(string characterType)
        : base()
    {
        onlyInstance = this;

        Start();

        SwapState(new InitState(this, characterType));
    }
        public PlayerInputFsm(PlayerAnimationFsm animationFsm)
            : base()
        {
            this.animationFsm = animationFsm;

            Start();

            SwapState(new IdleState(this));
        }
 public InitState(PlayerAnimationFsm parent, string characterType)
     : base(parent)
 {
     this.parent = parent;
     this.characterType = characterType;
 }
        public PlayerAttackingFsm(PlayerAnimationFsm animationFsm, GameObject player)
            : base()
        {
            this.animationFsm = animationFsm;
            this.player = player;

            Start();

            SwapState(new IdleState(this));
        }
 public IdleState(PlayerAnimationFsm parent)
     : base(parent)
 {
     this.parent = parent;
 }