INSA
  • Tutorials
  • Documentation
  • Api Documentation
  • Changelog
Show / Hide Table of Contents
  • Getting Started
    • Quickstart
  • Unity tutorial
    • Introduction
    • Time for practice
    • Restricted scenario by script?
    • How to create the tutorial scene?
  • Scenario
    • How to create a sensor?
    • How to create an effector?
    • How to setup the engine?
    • How to edit a scenario?
    • How to run a scenario?
    • How to?
  • Relation engine
    • How to create a type?
    • How to create a relation?
    • What are queries? How do queries work?
    • How to be notified when a relation is executed?
  • Highlight Manager
    • How to create a Highlight?

A Configuration Parameter attribute decorates a field or a property.

Sensor ConfigurationParameter

In the scenario editor inspector, the user will be able to fill the value of any field or property with this attribute.

  • abel is the displayed name.
  • initialValue (optional) is the initial value of the field if the user doesn't set any.
  • Description (optional) will be displayed as a tooltip on hovering the field in the inspector.
  • Necessity indicates whether a value is required or not.

In Unity, fields and properties with a configuration parameter attribute can also be decorated using other attributes :

  • Provide Constraint : constraints a field or property value
  • Provider : constraints a field or property value depending on the value of the given field or property.
INSA     IRISA     Inria     Ouest Valorisation Back to top