Class ComponentApiExtensions
- Namespace
- LunyScript.Unity.Blocks.Component /
- Assembly
- LunyScript.Unity.dll
public static class ComponentApiExtensions
Expand Details ...
- Inheritance
-
objectComponentApiExtensions
Methods
Disable(ComponentApi, Type)
public static ScriptActionBlock Disable(this ComponentApi api, Type componentType)
Parameters
| Type | Name | Description |
|---|---|---|
api |
||
componentType |
Returns
Enable(ComponentApi, Type)
public static ScriptActionBlock Enable(this ComponentApi api, Type componentType)
Parameters
| Type | Name | Description |
|---|---|---|
api |
||
componentType |