DecisionFlex
Utilty AI for Unity
|
▼NTenPN | |
▼NDecisionFlex | |
▼NDemos | |
▼NWalkthrough | |
CCaptionedImageWalkthroughScreen | |
CDialogWalkthroughScreen | |
CWalkthrough | |
CWalkthroughScreen | |
CAttackNearbyUFOs | |
CAttributeContextFactory | For the iPerson demo. Pushes what we know about the world into DFlex's database |
CAttributeRenderer | |
CEnemiesControl | |
CFollowWaypoints | |
CGraphParameters | |
CGraphRenderer | |
CHealNearbyUFOs | |
CHPBarController | |
CInventory | |
CiPerson | The core logic of the simulation, simulating eg Hunger increasing over time |
CLabelLerper | |
CMainMenu | |
CModifyAttribute | Callback for DecisionFlex to modify a single attribute, through the Perform() func |
COrbitTarget | Orbits around enemy, attacking it |
CRandomModifyAttribute | Callback for DecisionFlex to randomly modify a single attribute |
CShowName | |
CUFO | |
CUFOContextFactory | Logs HP, distance to enemy and distance to health |
CUFOSpawner | |
CWeaponAction | Fires a gun, when chosen by DecisionFlex |
CWeaponSelectionContextFactory | Pushing data about the soldier demo into DecisionFlex |
CAction | A helper class, combining MonoBehaviour and IUtilityAction for new actions |
CActionInspector | |
CActionSelection | The snapshot of scoring all the considerations associated with a single action object |
CActionSelector | Base class for chosing an action from all the scored choices |
CBinaryContextConsideration | Evaulate a context value in relation to a gate, and return one of two scores depending on the result |
CBooleanConsideration | Evaulate a context value in relation to a bool, and return one of two scores depending on the result |
CConsideration | A single influence on the scoring of one action |
CConsiderationInspector | |
CConsiderationScalar | A consideration that always returns the same score, whatever context is given |
CContextDictionary | One possible implementation of IContext |
CContextFactory | Produces IContext objects, used to evaulate UtilityConsiderations when making decisions |
CContextInspector< ContextContainer > | |
CContextValueConsideration | Base class for considerations that evaluate a context value through an animation curve |
CDecisionFlex | Represents one decision to be made with the DecisionFlex system |
CDecisionFlexInspector | |
CDecisionInspector | |
CDecisionTicker | Base class for behaviours that tell the decision maker to do something |
CFastContextDictionary | One possible implementation of IContext |
CFloatConsideration | Evalutes a float value from the IContext through a response curve |
CHierarchicalContext | Context decorator for a tree of contexts |
CIAction | Base class for actions DecisionFlex.cs can do |
CIContext | All the information needed to evaluate action considerations |
CIdleAction | For when you want nothing to happen. Does Nothing. Nada. Zip |
CIntConsideration | Evalutes an int value from the IContext through a response curve |
CMakeDecisionAtRegularIntervals | Sends message at a regular interval |
CMakeDecisionEveryFrame | Sends set message every frame to target |
CMakeDecisionOnEnable | Makes decision every time the gameobject enables |
CSelectHighestScore | Choose the highest-scoring action |
CSelectTournament | Choose a good action but not always the best, using relative ranking |
CSelectWeightedRandom | Choose a good action but not always the best, using weights |
CSingleContextFactory | Produces a single IContext object, used to evaulate Considerations when making decisions |
CTimesliceDecisionMaking | Manages decision-making so only X objects from same bin make decisions each frame |
CToggleScriptAction | Helper action that toggles state of target behaviour |
CUnityEventAction | Use this to easily connect an action to another part of the code, eg driving animation |
CWeaponLog |