Class used by MonoBehaviourTagged component to know wich other MonoBehaviourTagged component it can interact with.
Because of how the Tag are stored, their ref can change between two frame. You shouldn't refer a Tag by it's reference. Use TagID instead. /!\ You should not use Tag when game play.
Properties | |
Tag.ValueType | ValuesType [get, set] |
The Type of the values that will be used by all MonoBehaviourTagged component wich refer this Tag. More... | |
Public Attributes | |
TagID | Id |
The TagID of the Tag. More... | |
string | Name |
The name of the tag. More... | |
Texture2D | Icon |
The icon assigned to a Tag More... | |
Static Public Attributes | |
const ValueType | DEFAULT_VALUESTYPE = ValueType.Float |
Default ValueType set to a Tag. More... | |
Public Types | |
enum | ValueType { ValueType.Boolean, ValueType.Color, ValueType.Double, ValueType.Float, ValueType.Int, ValueType.Long, ValueType.String, ValueType.Vector2, ValueType.Vector2Int, ValueType.Vector3, ValueType.Vector3Int, ValueType.Vector4 } |
List all Type that can be assigned to values of a MonoBehaviourTagged component. More... | |
Public Member Functions | |
System.Type | GetSelectedType () |
Return the System.Type of the current Tag.ValueType. More... | |
Static Public Member Functions | |
static System.Type | GetSystemType (Tag.ValueType type) |
Return the Type of the Tag.ValueType passed. More... | |
|
getset |
The Type of the values that will be used by all MonoBehaviourTagged component wich refer this Tag.
System.Type Nectunia.PropertyInterface.Tag.GetSelectedType | ( | ) |
Return the System.Type of the current Tag.ValueType.
|
static |
Return the Type of the Tag.ValueType passed.
type | The Tag.ValueType to return the system Type. |
|
strong |
List all Type that can be assigned to values of a MonoBehaviourTagged component.
Enumerator | |
---|---|
Boolean | |
Color | |
Double | |
Float | |
Int | |
Long | |
String | |
Vector2 | |
Vector2Int | |
Vector3 | |
Vector3Int | |
Vector4 |
|
static |
Default ValueType set to a Tag.
Texture2D Nectunia.PropertyInterface.Tag.Icon |
The icon assigned to a Tag
TagID Nectunia.PropertyInterface.Tag.Id |
string Nectunia.PropertyInterface.Tag.Name |
The name of the tag.