docs.unity3d.com
    Show / Hide Table of Contents

    Class ObjectCreationButtonData

    Inheritance
    Object
    Object
    ScriptableObject
    ObjectCreationButtonData
    ObjectCreationButtonDataGenericPrefab
    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: Unity.MARS
    Syntax
    [Serializable]
    [Obsolete("Unity.MARS.ObjectCreationButtonData has been deprecated. Use UnityEditor.MARS.ObjectCreationData instead (UnityUpgradable) -> UnityEditor.MARS.ObjectCreationData", false)]
    public abstract class ObjectCreationButtonData : ScriptableObject

    Fields

    m_ButtonName

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

    m_Icon

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

    m_Tooltip

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

    Properties

    ButtonName

    Declaration
    [Obsolete("ButtonName has been deprecated. Use ObjectName property instead (UnityUpgradable) -> ObjectName", false)]
    public string ButtonName { get; }
    Property Value
    Type Description
    String

    CreateInContextSelection

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

    ObjectGUIContent

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

    Methods

    CreateGameObject()

    Declaration
    [Obsolete("CreateGameObject() has been deprecated, please use CreateGameObject(out GameObject  createdObject, Transform parentTransform) instead", false)]
    public abstract bool CreateGameObject()
    Returns
    Type Description
    Boolean

    CreationButtonContent()

    Declaration
    [Obsolete("CreationButtonContent() has been deprecated.", false)]
    public GUIContent CreationButtonContent()
    Returns
    Type Description
    GUIContent

    GenerateInitialGameObject(String)

    Declaration
    [Obsolete("GenerateInitialGameObject(string objName) has been deprecated, please use GenerateInitialGameObject(string objName, Transform parent)", false)]
    protected static GameObject GenerateInitialGameObject(string objName)
    Parameters
    Type Name Description
    String objName
    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