Class StateRequestSimulator
Developer Utility. The StateRequestSimulator allows to test the visual scripting stateflows in the editor by simulating requests to the statemachine manually. This is attached to the framework but not active by default. To use it, the PlayModeButtonOverride has to be deactivated/deleted so the playmode can be entered. The StateRequestSimulator is attached to the root object of the TrainAR framework and can then be used in the Hierarchy.
Inheritance
System.Object
StateRequestSimulator
Namespace: Others
Assembly: Assembly-CSharp.dll
Syntax
public class StateRequestSimulator : MonoBehaviour
Fields
| Improve this Doc View SourceinteractionType
What kind of interaction should be requested.
Declaration
public InteractionType interactionType
Field Value
Type | Description |
---|---|
InteractionType | Default is Interact. |
parameter
What parameter should be requested.
Declaration
public string parameter
Field Value
Type | Description |
---|---|
System.String | Default is "". |
primaryObjectName
What is the TrainAR object name of the first object.
Declaration
public string primaryObjectName
Field Value
Type | Description |
---|---|
System.String | Default is "". |
secondaryObjectName
What is the TrainAR object name of the second object.
Declaration
public string secondaryObjectName
Field Value
Type | Description |
---|---|
System.String | Default is "". |