Method AddFromComponent
AddFromComponent(GameObject, Component)
Set all serializable properties on a component to be under preview control.
Declaration
void AddFromComponent(GameObject obj, Component component)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | obj | The gameObject where the properties exist |
| Component | component | The component to set in preview mode |