Method AddFromComponent
AddFromComponent(GameObject, Component)
Set all serializable properties on a component to be under preview control.
선언
void AddFromComponent(GameObject obj, Component component)
파라미터
타입 | 이름 | 설명 |
---|---|---|
GameObject | obj | The gameObject where the properties exist |
Component | component | The component to set in preview mode |