PropertyInterface
Nectunia.PropertyInterface.MonoBehaviourTagged Class Reference

Detailed Description

Base classe for all components wich use PropertyInterface.Tags.

Inheritance diagram for Nectunia.PropertyInterface.MonoBehaviourTagged:
Nectunia.PropertyInterface.Property Nectunia.PropertyInterface.PropertyToSlider Nectunia.PropertyInterface.PropertyTriggerHandler Nectunia.PropertyInterface.Property2 Nectunia.PropertyInterface.Property3

Properties

TagID TagID [get, set]
 The TagID used by the component. More...
 
Tag.ValueType ValuesType [get, protected set]
 The Tag.ValueType of the component's values. More...
 
Tag Tag [get]
 Get from the Tags list the Tag wich have the same TagID than this component. More...
 
Texture2D Icon [get]
 Get the icon of the Tag More...
 

Public Member Functions

virtual void UpdateValuesType ()
 Update ValuesType. More...
 
virtual bool CheckIntegrity ()
 Check if the Tag, ValuesType are good. Update the Icon anyway. More...
 
bool CheckValuesType (Tag tag)
 Check if the ValuesType is equals to the passed Tag.ValuesType. More...
 

Static Public Member Functions

static List< MonoBehaviourTaggedGetMonoBehavioursTagged (bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (TagID tagID, bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (GameObject target)
 Get all MonoBehaviourTagged in the target gameobject. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (GameObject target, TagID tagID)
 Get all MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static void GetMonoBehavioursTagged (ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene. More...
 
static void GetMonoBehavioursTagged (TagID tagID, ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static void GetMonoBehavioursTagged (GameObject target, ref List< MonoBehaviourTagged > results)
 Get all MonoBehaviourTagged in the target gameobject. More...
 
static void GetMonoBehavioursTagged (GameObject target, TagID tagID, ref List< MonoBehaviourTagged > results)
 Get all MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTaggedInChildren (GameObject target, bool includeInactive=false)
 Get all MonoBehaviourTagged in the target gameobject and it's children. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTaggedInChildren (GameObject target, TagID tagID, bool includeInactive=false)
 Get all MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static void GetMonoBehavioursTaggedInChildren (GameObject target, ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged in the target gameobject and it's children. More...
 
static void GetMonoBehavioursTaggedInChildren (GameObject target, TagID tagID, ref List< MonoBehaviourTagged > results, bool includeInactive=false)
 Get all MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (bool includeInactive=false)
 Get the First MonoBehaviourTagged in the current scene. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (TagID tagID, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (GameObject target)
 Get the first MonoBehaviourTagged in the target gameobject. . More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (GameObject target, TagID tagID)
 Get the first MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static void GetMonoBehaviourTagged (ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the current scene. More...
 
static void GetMonoBehaviourTagged (TagID tagID, ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the current scene wich have the passed TagID. More...
 
static void GetMonoBehaviourTagged (GameObject target, ref MonoBehaviourTagged result)
 Get the first MonoBehaviourTagged in the target gameobject. More...
 
static void GetMonoBehaviourTagged (GameObject target, TagID tagID, ref MonoBehaviourTagged result)
 Get the first MonoBehaviourTagged in the target gameobject wich have the passed TagID. More...
 
static MonoBehaviourTagged GetMonoBehaviourTaggedInChildren (GameObject target, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the target gameobject and it's children. More...
 
static MonoBehaviourTagged GetMonoBehaviourTaggedInChildren (GameObject target, TagID tagID, bool includeInactive=false)
 Get the first MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static void GetMonoBehaviourTaggedInChildren (GameObject target, ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged in the target gameobject and it's children. More...
 
static void GetMonoBehaviourTaggedInChildren (GameObject target, TagID tagID, ref MonoBehaviourTagged result, bool includeInactive=false)
 Get the first MonoBehaviourTagged with the passed TagID in the target gameobject and it's children. More...
 
static bool Exists (bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged exists in the current scene or False otherwise. More...
 
static bool Exists (TagID tagId, bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged with passed TagID exists in the current scene or False otherwise. More...
 
static bool Exists (GameObject target)
 Return True if at least one MonoBehaviourTagged exists in the target gameobject or False otherwise. More...
 
static bool Exists (GameObject target, TagID tagId)
 Return True if at least one MonoBehaviourTagged with passed TagID exists in the target gameobject or False otherwise. More...
 
static bool ExistsInChildren (GameObject target, bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged exists in the target gameobject and its children or False otherwise. More...
 
static bool ExistsInChildren (GameObject target, TagID tagId, bool includeInactive=false)
 Return True if at least one MonoBehaviourTagged with passed TagID exists in the target gameobject and its children or False otherwise. More...
 

Protected Attributes

TagID _tagID = -1L
 
Tag.ValueType _valuesType = Tag.DEFAULT_VALUESTYPE
 

Protected Member Functions

virtual void OnTagIDChanged ()
 Event triggered when TagID changed. More...
 
virtual void OnValuesTypeChanged ()
 Event triggered when ValuesType changed. More...
 
virtual void WarningUpdate ()
 Log a warning in the console to say the MonoBehaviourTagged have to be updated. More...
 
virtual void WarningUpdate (Tag tag)
 Log a warning in the console to say the MonoBehaviourTagged have to be updated. More...
 
virtual void WarningUnknownTag ()
 Log a warning in the console to say the MonoBehaviourTagged have an Unknown Tag. More...
 
virtual void WarningIconUpdated (Tag tag)
 Log a warning in the console to say the MonoBehaviourTagged icon have been automaticaly updated. More...
 

Property Documentation

◆ Icon

Texture2D Nectunia.PropertyInterface.MonoBehaviourTagged.Icon
get

Get the icon of the Tag

◆ Tag

Tag Nectunia.PropertyInterface.MonoBehaviourTagged.Tag
get

Get from the Tags list the Tag wich have the same TagID than this component.

This Property should be used sparingly. /!\ It will always return null at game play.

◆ TagID

TagID Nectunia.PropertyInterface.MonoBehaviourTagged.TagID
getset

The TagID used by the component.

◆ ValuesType

Tag.ValueType Nectunia.PropertyInterface.MonoBehaviourTagged.ValuesType
getprotected set

The Tag.ValueType of the component's values.

Member Function Documentation

◆ CheckIntegrity()

virtual bool Nectunia.PropertyInterface.MonoBehaviourTagged.CheckIntegrity ( )
virtual

Check if the Tag, ValuesType are good. Update the Icon anyway.

/!\ Will always return false while game play.

Returns
Return true if it's all OK, false otherwise.

◆ CheckValuesType()

bool Nectunia.PropertyInterface.MonoBehaviourTagged.CheckValuesType ( Tag  tag)

Check if the ValuesType is equals to the passed Tag.ValuesType.

/!\ Will always return false while game play.

Parameters
tagThe concerned Tag.
Returns
Return true if ValueType match, false otherwise.

◆ Exists() [1/4]

static bool Nectunia.PropertyInterface.MonoBehaviourTagged.Exists ( bool  includeInactive = false)
static

Return True if at least one MonoBehaviourTagged exists in the current scene or False otherwise.

Parameters
includeInactiveInclude inactive GameObject.
Returns
True if at least one MonoBehaviourTagged exists in the current scene or False otherwise.

◆ Exists() [2/4]

static bool Nectunia.PropertyInterface.MonoBehaviourTagged.Exists ( GameObject  target)
static

Return True if at least one MonoBehaviourTagged exists in the target gameobject or False otherwise.

Parameters
targetThe target Gameobject in wich to search.
Returns
True if at least one MonoBehaviourTagged exists in the target gameobject or False otherwise.

◆ Exists() [3/4]

static bool Nectunia.PropertyInterface.MonoBehaviourTagged.Exists ( GameObject  target,
TagID  tagId 
)
static

Return True if at least one MonoBehaviourTagged with passed TagID exists in the target gameobject or False otherwise.

Parameters
targetThe target Gameobject in wich to search.
tagIdThe TagID we are looking for.
Returns
True if at least one MonoBehaviourTagged with passed TagID exist in the target gameobject or False otherwise.

◆ Exists() [4/4]

static bool Nectunia.PropertyInterface.MonoBehaviourTagged.Exists ( TagID  tagId,
bool  includeInactive = false 
)
static

Return True if at least one MonoBehaviourTagged with passed TagID exists in the current scene or False otherwise.

Parameters
tagIdThe TagID we are looking for.
includeInactiveInclude inactive GameObject.
Returns
True if at least one MonoBehaviourTagged with passed TagID exists in the current scene or False otherwise.

◆ ExistsInChildren() [1/2]

static bool Nectunia.PropertyInterface.MonoBehaviourTagged.ExistsInChildren ( GameObject  target,
bool  includeInactive = false 
)
static

Return True if at least one MonoBehaviourTagged exists in the target gameobject and its children or False otherwise.

Parameters
targetThe target Gameobject in wich to search.
includeInactiveInclude Inactive component.
Returns
True if at least one MonoBehaviourTagged exists or in the target gameobject and its children or False otherwise.

◆ ExistsInChildren() [2/2]

static bool Nectunia.PropertyInterface.MonoBehaviourTagged.ExistsInChildren ( GameObject  target,
TagID  tagId,
bool  includeInactive = false 
)
static

Return True if at least one MonoBehaviourTagged with passed TagID exists in the target gameobject and its children or False otherwise.

Parameters
targetThe target Gameobject in wich to search.
tagIdThe TagID we are looking for.
includeInactiveInclude Inactive component.
Returns
True if at least one MonoBehaviourTagged with passed TagID exists in the target gameobject and its children or False otherwise.

◆ GetMonoBehavioursTagged() [1/8]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( bool  includeInactive = false)
static

Get all MonoBehaviourTagged in the current scene.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
includeInactiveInclude inactive GameObject.
Returns
The list of all MonoBehaviourTagged component in the scene.

◆ GetMonoBehavioursTagged() [2/8]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( GameObject  target)
static

Get all MonoBehaviourTagged in the target gameobject.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
Returns
The list of all MonoBehaviourTagged component in the target gameobject.

◆ GetMonoBehavioursTagged() [3/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( GameObject  target,
ref List< MonoBehaviourTagged results 
)
static

Get all MonoBehaviourTagged in the target gameobject.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
resultsThe list of all MonoBehaviourTagged component in the target gameobject.

◆ GetMonoBehavioursTagged() [4/8]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( GameObject  target,
TagID  tagID 
)
static

Get all MonoBehaviourTagged in the target gameobject wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
Returns
The list of all MonoBehaviourTagged in the target gameobject wich have the passed TagID.

◆ GetMonoBehavioursTagged() [5/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( GameObject  target,
TagID  tagID,
ref List< MonoBehaviourTagged results 
)
static

Get all MonoBehaviourTagged in the target gameobject wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
resultsThe list of all MonoBehaviourTagged in the target gameobject wich have the passed TagID.

◆ GetMonoBehavioursTagged() [6/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( ref List< MonoBehaviourTagged results,
bool  includeInactive = false 
)
static

Get all MonoBehaviourTagged in the current scene.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
resultsThe list of all MonoBehaviourTagged component in the scene.
includeInactiveInclude inactive GameObject.

◆ GetMonoBehavioursTagged() [7/8]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( TagID  tagID,
bool  includeInactive = false 
)
static

Get all MonoBehaviourTagged in the current scene wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject.
Returns
The list of all MonoBehaviourTagged in the scene wich have the passed TagID.

◆ GetMonoBehavioursTagged() [8/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTagged ( TagID  tagID,
ref List< MonoBehaviourTagged results,
bool  includeInactive = false 
)
static

Get all MonoBehaviourTagged in the current scene wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
tagIDThe tagID we are looking for.
resultsThe list of all MonoBehaviourTagged in the scene wich have the passed TagID.
includeInactiveInclude inactive GameObject.

◆ GetMonoBehavioursTaggedInChildren() [1/4]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTaggedInChildren ( GameObject  target,
bool  includeInactive = false 
)
static

Get all MonoBehaviourTagged in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
includeInactiveInclude inactive GameObject.
Returns
The list of all MonoBehaviourTagged component in the target gameobject and it's childrens.

◆ GetMonoBehavioursTaggedInChildren() [2/4]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTaggedInChildren ( GameObject  target,
ref List< MonoBehaviourTagged results,
bool  includeInactive = false 
)
static

Get all MonoBehaviourTagged in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
resultsThe list of all MonoBehaviourTagged component in the target gameobject.
includeInactiveInclude inactive GameObject.

◆ GetMonoBehavioursTaggedInChildren() [3/4]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTaggedInChildren ( GameObject  target,
TagID  tagID,
bool  includeInactive = false 
)
static

Get all MonoBehaviourTagged with the passed TagID in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject.
Returns
The list of all MonoBehaviourTagged component with the passed TagID in the target gameobject and it's children.

◆ GetMonoBehavioursTaggedInChildren() [4/4]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehavioursTaggedInChildren ( GameObject  target,
TagID  tagID,
ref List< MonoBehaviourTagged results,
bool  includeInactive = false 
)
static

Get all MonoBehaviourTagged with the passed TagID in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
resultsThe list of all MonoBehaviourTagged component with the passed TagID in the target gameobject and it's children.
includeInactiveInclude inactive GameObject.

◆ GetMonoBehaviourTagged() [1/8]

static MonoBehaviourTagged Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( bool  includeInactive = false)
static

Get the First MonoBehaviourTagged in the current scene.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
includeInactiveInclude inactive GameObject.
Returns
The First MonoBehaviourTagged in the current scene or null if none is found.

◆ GetMonoBehaviourTagged() [2/8]

static MonoBehaviourTagged Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( GameObject  target)
static

Get the first MonoBehaviourTagged in the target gameobject. .

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
Returns
The first MonoBehaviourTagged component in the target gameobject.

◆ GetMonoBehaviourTagged() [3/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( GameObject  target,
ref MonoBehaviourTagged  result 
)
static

Get the first MonoBehaviourTagged in the target gameobject.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
resultThe first MonoBehaviourTagged component in the target gameobject.

◆ GetMonoBehaviourTagged() [4/8]

static MonoBehaviourTagged Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( GameObject  target,
TagID  tagID 
)
static

Get the first MonoBehaviourTagged in the target gameobject wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
Returns
The first MonoBehaviourTagged in the target gameobject wich have the passed TagID.

◆ GetMonoBehaviourTagged() [5/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( GameObject  target,
TagID  tagID,
ref MonoBehaviourTagged  result 
)
static

Get the first MonoBehaviourTagged in the target gameobject wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
resultThe first MonoBehaviourTagged in the target gameobject wich have the passed TagID.

◆ GetMonoBehaviourTagged() [6/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( ref MonoBehaviourTagged  result,
bool  includeInactive = false 
)
static

Get the first MonoBehaviourTagged in the current scene.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
resultThe first MonoBehaviourTagged component in the scene.
includeInactiveInclude inactive GameObject.

◆ GetMonoBehaviourTagged() [7/8]

static MonoBehaviourTagged Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( TagID  tagID,
bool  includeInactive = false 
)
static

Get the first MonoBehaviourTagged in the current scene wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject.
Returns
The first MonoBehaviourTagged in the scene wich have the passed TagID.

◆ GetMonoBehaviourTagged() [8/8]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTagged ( TagID  tagID,
ref MonoBehaviourTagged  result,
bool  includeInactive = false 
)
static

Get the first MonoBehaviourTagged in the current scene wich have the passed TagID.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
tagIDThe tagID we are looking for.
resultThe first MonoBehaviourTagged in the scene wich have the passed TagID.
includeInactiveInclude inactive GameObject.

◆ GetMonoBehaviourTaggedInChildren() [1/4]

static MonoBehaviourTagged Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTaggedInChildren ( GameObject  target,
bool  includeInactive = false 
)
static

Get the first MonoBehaviourTagged in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
includeInactiveInclude inactive GameObject.
Returns
The first MonoBehaviourTagged component in the target gameobject.

◆ GetMonoBehaviourTaggedInChildren() [2/4]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTaggedInChildren ( GameObject  target,
ref MonoBehaviourTagged  result,
bool  includeInactive = false 
)
static

Get the first MonoBehaviourTagged in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
resultThe first MonoBehaviourTagged component in the target gameobject.
includeInactiveInclude inactive GameObject.

◆ GetMonoBehaviourTaggedInChildren() [3/4]

static MonoBehaviourTagged Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTaggedInChildren ( GameObject  target,
TagID  tagID,
bool  includeInactive = false 
)
static

Get the first MonoBehaviourTagged with the passed TagID in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject.
Returns
The first MonoBehaviourTagged component with the passed TagID in the target gameobject and it's children.

◆ GetMonoBehaviourTaggedInChildren() [4/4]

static void Nectunia.PropertyInterface.MonoBehaviourTagged.GetMonoBehaviourTaggedInChildren ( GameObject  target,
TagID  tagID,
ref MonoBehaviourTagged  result,
bool  includeInactive = false 
)
static

Get the first MonoBehaviourTagged with the passed TagID in the target gameobject and it's children.

/!\ This function is very slow. It is not recommended to use this function every frame.

Parameters
targetThe target Gameobject in wich to search.
tagIDThe tagID we are looking for.
resultThe first MonoBehaviourTagged component with the passed TagID in the target gameobject and it's children.
includeInactiveInclude inactive GameObject.

◆ OnTagIDChanged()

virtual void Nectunia.PropertyInterface.MonoBehaviourTagged.OnTagIDChanged ( )
protectedvirtual

Event triggered when TagID changed.

◆ OnValuesTypeChanged()

virtual void Nectunia.PropertyInterface.MonoBehaviourTagged.OnValuesTypeChanged ( )
protectedvirtual

Event triggered when ValuesType changed.

This happens when : -> TagID changed for a Tag with another ValuesType. -> The refered Tag have its ValuesType changed.

Reimplemented in Nectunia.PropertyInterface.PropertyTriggerHandler, and Nectunia.PropertyInterface.Property.

◆ UpdateValuesType()

virtual void Nectunia.PropertyInterface.MonoBehaviourTagged.UpdateValuesType ( )
virtual

Update ValuesType.

/!\ Do nothing while game play.

◆ WarningIconUpdated()

virtual void Nectunia.PropertyInterface.MonoBehaviourTagged.WarningIconUpdated ( Tag  tag)
protectedvirtual

Log a warning in the console to say the MonoBehaviourTagged icon have been automaticaly updated.

Parameters
tagThe concerned Tag.

◆ WarningUnknownTag()

virtual void Nectunia.PropertyInterface.MonoBehaviourTagged.WarningUnknownTag ( )
protectedvirtual

Log a warning in the console to say the MonoBehaviourTagged have an Unknown Tag.

◆ WarningUpdate() [1/2]

virtual void Nectunia.PropertyInterface.MonoBehaviourTagged.WarningUpdate ( )
protectedvirtual

Log a warning in the console to say the MonoBehaviourTagged have to be updated.

/!\ Do nothing while game play.

◆ WarningUpdate() [2/2]

virtual void Nectunia.PropertyInterface.MonoBehaviourTagged.WarningUpdate ( Tag  tag)
protectedvirtual

Log a warning in the console to say the MonoBehaviourTagged have to be updated.

Parameters
tagThe concerned Tag.

Member Data Documentation

◆ _tagID

TagID Nectunia.PropertyInterface.MonoBehaviourTagged._tagID = -1L
protected

◆ _valuesType

Tag.ValueType Nectunia.PropertyInterface.MonoBehaviourTagged._valuesType = Tag.DEFAULT_VALUESTYPE
protected