feat(core): IBehavior.IsActive
This commit is contained in:
@@ -26,6 +26,8 @@ public abstract class Behaviour : IBehaviour
|
||||
public IStateEnable StateEnable => _stateEnable;
|
||||
public IBehaviourController BehaviourController => _behaviourController;
|
||||
|
||||
public bool IsActive => StateEnable.Enabled && BehaviourController.GameObject.StateEnable.Enabled;
|
||||
|
||||
public bool Initialized
|
||||
{
|
||||
get => _initialized;
|
||||
|
Reference in New Issue
Block a user