Search Results for

    Show / Hide Table of Contents

    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 Source

    interactionType

    What kind of interaction should be requested.

    Declaration
    public InteractionType interactionType
    Field Value
    Type Description
    InteractionType

    Default is Interact.

    | Improve this Doc View Source

    parameter

    What parameter should be requested.

    Declaration
    public string parameter
    Field Value
    Type Description
    System.String

    Default is "".

    | Improve this Doc View Source

    primaryObjectName

    What is the TrainAR object name of the first object.

    Declaration
    public string primaryObjectName
    Field Value
    Type Description
    System.String

    Default is "".

    | Improve this Doc View Source

    secondaryObjectName

    What is the TrainAR object name of the second object.

    Declaration
    public string secondaryObjectName
    Field Value
    Type Description
    System.String

    Default is "".

    • Improve this Doc
    • View Source
    In This Article
    Back to top TrainAR Documentation