[#13] uniezależnienie modułu Movement od innych
This commit is contained in:
@@ -27,6 +27,8 @@ namespace RPGCore.ObjectModules.ActionObjectModule
|
|||||||
public List<BaseAction> actionQueue => _actionQueue.ToList();
|
public List<BaseAction> actionQueue => _actionQueue.ToList();
|
||||||
public BaseAction actionCurrent => _actionCurrent;
|
public BaseAction actionCurrent => _actionCurrent;
|
||||||
|
|
||||||
|
public bool isControllable = true;
|
||||||
|
|
||||||
private void FixedUpdate()
|
private void FixedUpdate()
|
||||||
{
|
{
|
||||||
if (_actionCurrent?.state is not ActionState.Running) NextAction();
|
if (_actionCurrent?.state is not ActionState.Running) NextAction();
|
||||||
|
|||||||
Reference in New Issue
Block a user