DebugAction is a primitive that is used to post a single debug message to the Unity log. More...
Public Member Functions | |
override ActionResult | Execute (Agent agent, float deltaTime) |
ActionResult.Execute Causes the agent to GainInterestIn() the aspect and then attempt to Sense it. If an object with the given aspect is sensed it is assigned to the assignTo variable in the actionContext. | |
Public Attributes | |
ActionResult | returnValue = ActionResult.SUCCESS |
Allow users to set the return value of a debug so it operates how they want depending on the container. | |
string | debugMessage |
debugMessage is the message we want sent to the log |
DebugAction is a primitive that is used to post a single debug message to the Unity log.
override ActionResult RAIN.Primitives.DebugAction.Execute | ( | Agent | agent, |
float | deltaTime | ||
) | [virtual] |
ActionResult.Execute Causes the agent to GainInterestIn() the aspect and then attempt to Sense it. If an object with the given aspect is sensed it is assigned to the assignTo variable in the actionContext.
agent | |
deltaTime |
Reimplemented from RAIN.Action.Action.
debugMessage is the message we want sent to the log
ActionResult RAIN.Primitives.DebugAction.returnValue = ActionResult.SUCCESS |
Allow users to set the return value of a debug so it operates how they want depending on the container.