Method SetRunInEditModeRecursively
SetRunInEditModeRecursively(GameObject, bool)
Sets runInEditMode for all MonoBehaviours on this GameObject and its children.
Declaration
public static void SetRunInEditModeRecursively(this GameObject gameObject, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | The GameObject at the root of the hierarchy to be modified. |
bool | enabled | The value to assign to runInEditMode. |