docs.unity3d.com
    Show / Hide Table of Contents

    Class ObjectCreationData

    Inheritance
    Object
    Object
    ScriptableObject
    ObjectCreationData
    GenericPrefabObjectCreationData
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEditor.MARS
    Syntax
    [Serializable]
    [MovedFrom("Unity.MARS")]
    public abstract class ObjectCreationData : ScriptableObject

    Fields

    m_Icon

    Declaration
    [SerializeField]
    protected DarkLightIconPair m_Icon
    Field Value
    Type Description
    DarkLightIconPair

    m_ObjectName

    Declaration
    [FormerlySerializedAs("m_ButtonName")]
    [SerializeField]
    protected string m_ObjectName
    Field Value
    Type Description
    String

    m_Tooltip

    Declaration
    [SerializeField]
    protected string m_Tooltip
    Field Value
    Type Description
    String

    Properties

    CreateInContextSelection

    Declaration
    public ObjectCreationData.CreateInContext CreateInContextSelection { get; }
    Property Value
    Type Description
    ObjectCreationData.CreateInContext

    ObjectGUIContent

    Declaration
    public GUIContent ObjectGUIContent { get; }
    Property Value
    Type Description
    GUIContent

    ObjectName

    Declaration
    public string ObjectName { get; }
    Property Value
    Type Description
    String

    Methods

    CreateGameObject()

    Declaration
    [Obsolete("CreateGameObject() has been deprecated. Use CreateGameObject(out GameObject createdObj, Transform parentTransform) instead.", false)]
    public virtual bool CreateGameObject()
    Returns
    Type Description
    Boolean

    CreateGameObject(out GameObject, Transform)

    Declaration
    public abstract bool CreateGameObject(out GameObject createdObj, Transform parentTransform)
    Parameters
    Type Name Description
    GameObject createdObj
    Transform parentTransform
    Returns
    Type Description
    Boolean

    GenerateInitialGameObject(String, Transform)

    Declaration
    protected GameObject GenerateInitialGameObject(string objName, Transform parent)
    Parameters
    Type Name Description
    String objName
    Transform parent
    Returns
    Type Description
    GameObject
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023