INSA
  • Tutorials
  • Documentation
  • Api Documentation
  • Changelog
Show / Hide Table of Contents
  • Scenario Engine
    • What is a scenario Engine?
    • Main Definitions
      • Scenario
      • Transition
      • Sensor
      • Effector
      • Context
    • All Definitions
      • Comment
      • Complex Sequence
      • Context
      • Decision Tree
      • Effector
      • Event
      • Event Context
      • External Context
      • External Scenario
      • Function
      • Node
      • Net
      • Petri-Net
      • Place
      • Safe Petri-Net
      • Scenario
      • Scenario Context
      • Sensor
      • Sequence
      • State
      • State Machine
      • Token
      • Token Assign
      • Token Merge
      • Token Split
      • Transition
    • How to deal with asynchronous events?
  • Relation Engine
    • What is a relation Engine?
  • Scenario with Relation

Configuration

An configuration is a function used in sequences to set the configuration context.

The actual code of the configuration must be in the override of the Configure() method. The method must return a context that will be used as the configuration context of the parent sequence. The configuration can also perform various operations on the sequence while executing the code of the method.

Note

In Unity, it's better to use the SafeConfigure() method to ensure the code is executed in Unity's thread

An example can be found on the create configuration page.

INSA     IRISA     Inria     Ouest Valorisation Back to top