Class PropertyAttribute
Attribute used to annotate task properties.
Namespace: Unity.Kinematica
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class PropertyAttribute : Attribute
Remarks
Tasks can optionally have properties than be read from
or written to by user code. In order to display these
properties as editable fields in the corresponding
task graph visualization the property attribute can
be used.
public struct TimerTask : Task
{
[Property]
float timeInSeconds;
}
Constructors
Name | Description |
---|---|
PropertyAttribute(string) | Constructs a property attribute with the name passed as argument. |