Class ReasoningModule
Inheritance
ReasoningModule
Syntax
public class ReasoningModule : ScriptableSettings<ReasoningModule>, IModuleBehaviorCallbacks, IModuleMarsUpdate, IModuleDependency<FunctionalityInjectionModule>, IModule, IUsesSlowTasks, IFunctionalitySubscriber<IProvidesSlowTasks>, IFunctionalitySubscriber
Properties
Set of traits requirements that should also be used when setting up reasoning APIs
that might not already be included in the MARS Session.
Declaration
public HashSet<TraitRequirement> ExtraTraitRequirements { get; }
Property Value
Methods
AddReasoningAPI(IReasoningAPI)
Allows a reasoning API to be dynamically added to the scene
Declaration
public void AddReasoningAPI(IReasoningAPI reasoningAPI)
Parameters
ChangeReasoningAPIInterval(IReasoningAPI)
Allows a reasoning API to change its interval at runtime
Declaration
public void ChangeReasoningAPIInterval(IReasoningAPI reasoningAPI)
Parameters
Type |
Name |
Description |
IReasoningAPI |
reasoningAPI |
The reasoning API to update the interval for
|
Declaration
public void ConnectDependency(FunctionalityInjectionModule dependency)
Parameters
Implements
FindReasoningAPI<T>()
Declaration
public T FindReasoningAPI<T>()
where T : IReasoningAPI
Returns
Type Parameters
LoadModule()
Declaration
Implements
OnBehaviorAwake()
Declaration
public void OnBehaviorAwake()
Implements
OnBehaviorDestroy()
Declaration
public void OnBehaviorDestroy()
Implements
OnBehaviorDisable()
Declaration
public void OnBehaviorDisable()
Implements
OnBehaviorEnable()
Declaration
public void OnBehaviorEnable()
Implements
OnBehaviorStart()
Declaration
public void OnBehaviorStart()
Implements
OnBehaviorUpdate()
Declaration
public void OnBehaviorUpdate()
Implements
OnMarsUpdate()
Declaration
public void OnMarsUpdate()
Implements
RemoveReasoningAPI(IReasoningAPI)
Removes a reasoning API from being processed in the scene
Declaration
public void RemoveReasoningAPI(IReasoningAPI reasoningAPI)
Parameters
ResetReasoningAPIs()
Unload existing reasoning APIs and load new ones based on current scene requirements
Declaration
public void ResetReasoningAPIs()
UnloadModule()
Declaration
public void UnloadModule()
Implements
Explicit Interface Implementations
Declaration
IProvidesSlowTasks IFunctionalitySubscriber<IProvidesSlowTasks>.provider { get; set; }
Returns
Implements