internal BehaviorUpdateStage(BehaviorSystem behaviorSystem, Type stageType) { BehaviorSystem = behaviorSystem; StageType = stageType; }
public override void Stop(NodeManager manager) { updateStage = null; behaviorSystem = null; }
public override void Start() { behaviorSystem = Manager.ServiceProvider.RequireService <BehaviorSystem>(); }
public override void Start() { behaviorSystem = Manager.ServiceProvider.RequireService <BehaviorSystem>(); updateStage = behaviorSystem.GetUpdateStage(UpdateStageType); }
public override void Stop(NodeManager manager) { behaviorSystem = null; }