1
This commit is contained in:
@@ -1,29 +1,23 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit.StateMachine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BITFALL.Entities.Equipment.Universal.States
|
||||
{
|
||||
[Serializable]
|
||||
public sealed class Draw:UseState
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
useController.animator[0].onStateExit += (x) =>
|
||||
{
|
||||
if (Enabled && x is BITConstant.Player.Draw)
|
||||
{
|
||||
useController.TransitionState<Use>();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
[Serializable]
|
||||
public sealed class Use:UseState
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
[Serializable]
|
||||
public sealed class Exit:UseState
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user