Class ComponentHolderProtocol
Inheritance
ComponentHolderProtocol
Namespace: Ludiq
Syntax
public static class ComponentHolderProtocol
Methods
AddComponent(Object, Type)
Declaration
public static Component AddComponent(this Object uo, Type type)
Parameters
Returns
AddComponent<T>(Object)
Declaration
public static T AddComponent<T>(this Object uo)
where T : Component
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
AsGameObject(Object)
Declaration
public static GameObject AsGameObject(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
GameObject(Object)
Declaration
public static GameObject GameObject(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
GetComponent(Object, Type)
Declaration
public static Component GetComponent(this Object uo, Type type)
Parameters
Returns
GetComponent<T>(Object)
Declaration
public static T GetComponent<T>(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
GetComponentInChildren(Object, Type)
Declaration
public static Component GetComponentInChildren(this Object uo, Type type)
Parameters
Returns
GetComponentInChildren(Object, Type, Boolean)
Declaration
public static Component GetComponentInChildren(this Object uo, Type type, bool includeInactive)
Parameters
Returns
GetComponentInChildren<T>(Object)
Declaration
public static T GetComponentInChildren<T>(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
GetComponentInChildren<T>(Object, Boolean)
Declaration
public static T GetComponentInChildren<T>(this Object uo, bool includeInactive)
Parameters
Returns
Type Parameters
GetComponentInParent(Object, Type)
Declaration
public static Component GetComponentInParent(this Object uo, Type type)
Parameters
Returns
GetComponentInParent<T>(Object)
Declaration
public static T GetComponentInParent<T>(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
GetComponents(Object, Type)
Declaration
public static Component[] GetComponents(this Object uo, Type type)
Parameters
Returns
GetComponents(Object, Type, List<Component>)
Declaration
public static void GetComponents(this Object uo, Type type, List<Component> results)
Parameters
GetComponents<T>(Object)
Declaration
public static T[] GetComponents<T>(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
GetComponents<T>(Object, List<T>)
Declaration
public static void GetComponents<T>(this Object uo, List<T> results)
Parameters
Type Parameters
GetComponentsInChildren(Object, Type)
Declaration
public static Component[] GetComponentsInChildren(this Object uo, Type type)
Parameters
Returns
GetComponentsInChildren(Object, Type, Boolean)
Declaration
public static Component[] GetComponentsInChildren(this Object uo, Type type, bool includeInactive)
Parameters
Returns
GetComponentsInChildren<T>(Object)
Declaration
public static T[] GetComponentsInChildren<T>(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
GetComponentsInChildren<T>(Object, Boolean)
Declaration
public static T[] GetComponentsInChildren<T>(this Object uo, bool includeInactive)
Parameters
Returns
Type Parameters
GetComponentsInChildren<T>(Object, Boolean, List<T>)
Declaration
public static void GetComponentsInChildren<T>(this Object uo, bool includeInactive, List<T> results)
Parameters
Type Parameters
GetComponentsInChildren<T>(Object, List<T>)
Declaration
public static void GetComponentsInChildren<T>(this Object uo, List<T> results)
Parameters
Type Parameters
GetComponentsInParent(Object, Type)
Declaration
public static Component[] GetComponentsInParent(this Object uo, Type type)
Parameters
Returns
GetComponentsInParent(Object, Type, Boolean)
Declaration
public static Component[] GetComponentsInParent(this Object uo, Type type, bool includeInactive)
Parameters
Returns
GetComponentsInParent<T>(Object)
Declaration
public static T[] GetComponentsInParent<T>(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
GetComponentsInParent<T>(Object, Boolean)
Declaration
public static T[] GetComponentsInParent<T>(this Object uo, bool includeInactive)
Parameters
Returns
Type Parameters
GetComponentsInParent<T>(Object, Boolean, List<T>)
Declaration
public static void GetComponentsInParent<T>(this Object uo, bool includeInactive, List<T> results)
Parameters
Type Parameters
GetOrAddComponent(Object, Type)
Declaration
public static Component GetOrAddComponent(this Object uo, Type type)
Parameters
Returns
GetOrAddComponent<T>(Object)
Declaration
public static T GetOrAddComponent<T>(this Object uo)
where T : Component
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
Type Parameters
IsComponentHolder(Object)
Declaration
public static bool IsComponentHolder(this Object uo)
Parameters
Type |
Name |
Description |
Object |
uo |
|
Returns
IsComponentHolderType(Type)
Declaration
public static bool IsComponentHolderType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns