Utility functions for working with components.
More...
|
static bool | IsComponentEnabled (Component component) |
| Returns true if the component is enabled; false otherwise.
|
|
static void | SetComponentEnabled (Component component, bool value) |
| Sets a component's enabled state.
|
|
Utility functions for working with components.
◆ IsComponentEnabled()
static bool PixelCrushers.ComponentUtility.IsComponentEnabled |
( |
Component |
component | ) |
|
|
inlinestatic |
Returns true if the component is enabled; false otherwise.
◆ SetComponentEnabled()
static void PixelCrushers.ComponentUtility.SetComponentEnabled |
( |
Component |
component, |
|
|
bool |
value |
|
) |
| |
|
inlinestatic |
Sets a component's enabled state.
The documentation for this class was generated from the following file:
- C:/Dev/LoveHate/Dev/Source/Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/ComponentUtility.cs