C# Class MethodExtensionForUnity, GLSLInUnity

Mostrar archivo Open project: eangulee/GLSLInUnity

Public Methods

Method Description
GetOrAddComponent ( Component, child, bool set_enable = false ) : T,

Gets or add a component. Usage example: BoxCollider boxCollider = transform.GetOrAddComponent();

GetOrAddComponent ( GameObject, go ) : T,
walk ( GameObject, o, System.Action f ) : void

Method Details

GetOrAddComponent() static public method

Gets or add a component. Usage example: BoxCollider boxCollider = transform.GetOrAddComponent();
static public GetOrAddComponent ( Component, child, bool set_enable = false ) : T,
child Component,
set_enable bool
return T,

GetOrAddComponent() static public method

static public GetOrAddComponent ( GameObject, go ) : T,
go GameObject,
return T,

walk() public static method

public static walk ( GameObject, o, System.Action f ) : void
o GameObject,
f System.Action
return void