-
Notifications
You must be signed in to change notification settings - Fork 0
Tagged component overview
Tagged components are the main elements that will interact with Property components in your scene.
They are components with a TagID field. In the Unity editor, the tagged components will select a Tag. By the Tag they have selected, they will be able to interact with all Property components in the scene wich refered the same Tag.
They should all inherit the class MonoBehaviourTagged.
- It can work with all Tag.ValueType.
- It inherit the class MonoBehaviourTagged.
Why inherit MonoBehaviourTagged ?
Easier maintenance
The Tags in the Tag window are link to MonoBehaviourTagged components. When a scene is opening in the editor or when a Tag is modified, all MonoBehaviourTagged components in the scene will check if they have to be updated to match their Tag settings. If yes and if they can't be updated automatically, a warning will be sent in the Unity console with a link to the given MonoBehaviourTagged component.
Easier accessibility
MonoBehaviourTagged component provide methods to find them in scene or GameObject. See Find MonoBehaviorTagged
Home
First look
What about performance ?
Tag
Tag overview
Export Tags
Import Tags
Property
Property overview
Setting a Property
Property Updater
Property inheritance
Find Property by script
Editor GUI
EditorGUI_PropertyInterface
EditorGUILayout_PropertyInterfac
MonoBehaviourTagged
Tagged component overview
Built in tagged component
Create my tagged component
Find MonoBehaviourTagged by script
Error
Null propagating operator
Scripting
Classes descriptions