class MAGES::TagLabel¶
Overview¶
Meant to tag certain objects in the scene with textual information. More…
class TagLabel: public MonoBehaviour { public: // classes class Data; // methods void Refresh(); TagLabel Text(string text); TagLabel TagObject(GameObject gameObject); TagLabel Font(Theme.FontData data); };
Detailed Documentation¶
Meant to tag certain objects in the scene with textual information.
Methods¶
void Refresh()
Refreshes the tag label layout and positions of items.
TagLabel Text(string text)
Sets the text.
Parameters:
text |
The text. |
Returns:
Self.
TagLabel TagObject(GameObject gameObject)
Tags the given game object.
Parameters:
gameObject |
The gameobject to tag. |
Returns:
Self.
TagLabel Font(Theme.FontData data)
Sets the data.
Parameters:
data |
The new data. |
Returns:
Self.