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