PropertyInterface
Nectunia.PropertyInterface.EGameObject Class Reference

Detailed Description

Extension class to allow to used Property and MonoBehaviourTagged static functions directly from a GameObject instance.

Static Public Member Functions

static List< PropertyGetProperties (this GameObject gameObject)
 Return all Nectunia.PropertyInterface.Property in the current GameObject. More...
 
static List< PropertyGetProperties (this GameObject gameObject, TagID tagID)
 Return all Nectunia.PropertyInterface.Property with passed TagID in the current GameObject. More...
 
static List< PropertyGetPropertiesInChildren (this GameObject gameObject, bool includeInactive=false)
 Return all Nectunia.PropertyInterface.Property in the current GameObject or in its children. More...
 
static List< PropertyGetPropertiesInChildren (this GameObject gameObject, TagID tagID, bool includeInactive=false)
 Return all Nectunia.PropertyInterface.Property with passed TagID in the current GameObject or in its children. More...
 
static Property GetProperty (this GameObject gameObject)
 Return the first Nectunia.PropertyInterface.Property in the current GameObject. More...
 
static Property GetProperty (this GameObject gameObject, TagID tagID)
 Return the first Nectunia.PropertyInterface.Property with passed TagID in the current GameObject. More...
 
static Property GetPropertyInChildren (this GameObject gameObject, bool includeInactive=false)
 Return the first Nectunia.PropertyInterface.Property in the current GameObject or in its children. More...
 
static Property GetPropertyInChildren (this GameObject gameObject, TagID tagID, bool includeInactive=false)
 Return the first Nectunia.PropertyInterface.Property with passed TagID in the current GameObject or in its children. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (this GameObject gameObject)
 Return all Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTagged (this GameObject gameObject, TagID tagID)
 Return all Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTaggedInChildren (this GameObject gameObject, bool includeInactive=false)
 Return all Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject or in its children. More...
 
static List< MonoBehaviourTaggedGetMonoBehavioursTaggedInChildren (this GameObject gameObject, TagID tagID, bool includeInactive=false)
 Return all Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject or in its children. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (this GameObject gameObject)
 Return the first Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject. More...
 
static MonoBehaviourTagged GetMonoBehaviourTagged (this GameObject gameObject, TagID tagID)
 Return the first Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject. More...
 
static MonoBehaviourTagged GetMonoBehaviourTaggedInChildren (this GameObject gameObject, bool includeInactive=false)
 Return the first Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject or in its children. More...
 
static MonoBehaviourTagged GetMonoBehaviourTaggedInChildren (this GameObject gameObject, TagID tagID, bool includeInactive=false)
 Return the first Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject or in its children. More...
 

Member Function Documentation

◆ GetMonoBehavioursTagged() [1/2]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.EGameObject.GetMonoBehavioursTagged ( this GameObject  gameObject)
static

Return all Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject.

Parameters
gameObjectThe actual GameObject.
Returns
All Nectunia.PropertyInterface.MonoBehaviourTagged in the gameObject.

◆ GetMonoBehavioursTagged() [2/2]

static List<MonoBehaviourTagged> Nectunia.PropertyInterface.EGameObject.GetMonoBehavioursTagged ( this GameObject  gameObject,
TagID  tagID 
)
static

Return all Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
Returns
All Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the gameObject.

◆ GetMonoBehavioursTaggedInChildren() [1/2]

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

Return all Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
includeInactiveInclude inactive GameObject ?
Returns
All Nectunia.PropertyInterface.MonoBehaviourTagged in the gameObject or in its children.

◆ GetMonoBehavioursTaggedInChildren() [2/2]

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

Return all Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject ?
Returns
All Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the gameObject or in its children.

◆ GetMonoBehaviourTagged() [1/2]

static MonoBehaviourTagged Nectunia.PropertyInterface.EGameObject.GetMonoBehaviourTagged ( this GameObject  gameObject)
static

Return the first Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject.

Parameters
gameObjectThe actual GameObject.
Returns
The first Nectunia.PropertyInterface.MonoBehaviourTagged in the gameObject.

◆ GetMonoBehaviourTagged() [2/2]

static MonoBehaviourTagged Nectunia.PropertyInterface.EGameObject.GetMonoBehaviourTagged ( this GameObject  gameObject,
TagID  tagID 
)
static

Return the first Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
Returns
The first Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the gameObject.

◆ GetMonoBehaviourTaggedInChildren() [1/2]

static MonoBehaviourTagged Nectunia.PropertyInterface.EGameObject.GetMonoBehaviourTaggedInChildren ( this GameObject  gameObject,
bool  includeInactive = false 
)
static

Return the first Nectunia.PropertyInterface.MonoBehaviourTagged in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
includeInactiveInclude inactive GameObject ?
Returns
the first Nectunia.PropertyInterface.MonoBehaviourTagged in the gameObject or in its children.

◆ GetMonoBehaviourTaggedInChildren() [2/2]

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

Return the first Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject ?
Returns
the first Nectunia.PropertyInterface.MonoBehaviourTagged with passed TagID in the gameObject or in its children.

◆ GetProperties() [1/2]

static List<Property> Nectunia.PropertyInterface.EGameObject.GetProperties ( this GameObject  gameObject)
static

Return all Nectunia.PropertyInterface.Property in the current GameObject.

Parameters
gameObjectThe actual GameObject.
Returns
All Nectunia.PropertyInterface.Property in the gameObject.

◆ GetProperties() [2/2]

static List<Property> Nectunia.PropertyInterface.EGameObject.GetProperties ( this GameObject  gameObject,
TagID  tagID 
)
static

Return all Nectunia.PropertyInterface.Property with passed TagID in the current GameObject.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
Returns
All Nectunia.PropertyInterface.Property with passed TagID in the gameObject.

◆ GetPropertiesInChildren() [1/2]

static List<Property> Nectunia.PropertyInterface.EGameObject.GetPropertiesInChildren ( this GameObject  gameObject,
bool  includeInactive = false 
)
static

Return all Nectunia.PropertyInterface.Property in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
includeInactiveInclude inactive GameObject ?
Returns
All Nectunia.PropertyInterface.Property in the gameObject or in its children.

◆ GetPropertiesInChildren() [2/2]

static List<Property> Nectunia.PropertyInterface.EGameObject.GetPropertiesInChildren ( this GameObject  gameObject,
TagID  tagID,
bool  includeInactive = false 
)
static

Return all Nectunia.PropertyInterface.Property with passed TagID in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject ?
Returns
All Nectunia.PropertyInterface.Property with passed TagID in the gameObject or in its children.

◆ GetProperty() [1/2]

static Property Nectunia.PropertyInterface.EGameObject.GetProperty ( this GameObject  gameObject)
static

Return the first Nectunia.PropertyInterface.Property in the current GameObject.

Parameters
gameObjectThe actual GameObject.
Returns
The first Nectunia.PropertyInterface.Property in the gameObject.

◆ GetProperty() [2/2]

static Property Nectunia.PropertyInterface.EGameObject.GetProperty ( this GameObject  gameObject,
TagID  tagID 
)
static

Return the first Nectunia.PropertyInterface.Property with passed TagID in the current GameObject.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
Returns
The first Nectunia.PropertyInterface.Property with passed TagID in the gameObject.

◆ GetPropertyInChildren() [1/2]

static Property Nectunia.PropertyInterface.EGameObject.GetPropertyInChildren ( this GameObject  gameObject,
bool  includeInactive = false 
)
static

Return the first Nectunia.PropertyInterface.Property in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
includeInactiveInclude inactive GameObject ?
Returns
the first Nectunia.PropertyInterface.Property in the gameObject or in its children.

◆ GetPropertyInChildren() [2/2]

static Property Nectunia.PropertyInterface.EGameObject.GetPropertyInChildren ( this GameObject  gameObject,
TagID  tagID,
bool  includeInactive = false 
)
static

Return the first Nectunia.PropertyInterface.Property with passed TagID in the current GameObject or in its children.

Parameters
gameObjectThe actual GameObject.
tagIDThe tagID we are looking for.
includeInactiveInclude inactive GameObject ?
Returns
the first Nectunia.PropertyInterface.Property with passed TagID in the gameObject or in its children.