◆
EditorAddComponentWithUndo()
delegate Component EditorAddComponentWithUndo
(
GameObject
gameObject
,
System.Type
componentType
)
Parameters
gameObject
UnityEngine.Object reference
componentType
System.Type reference
Returns
UnityEngine.Component reference
EyE
Unity
Extensions
GameObjectExtensions