Class ObjectCreationButtonData | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ObjectCreationButtonData

    Inheritance
    Object
    ObjectCreationButtonData
    ObjectCreationButtonDataGenericPrefab
    Namespace: Unity.MARS
    Syntax
    [Serializable]
    public abstract class ObjectCreationButtonData : ScriptableObject

    Fields

    m_ButtonName

    Declaration
    protected string m_ButtonName
    Field Value
    Type Description
    String

    m_Icon

    Declaration
    protected DarkLightIconPair m_Icon
    Field Value
    Type Description
    DarkLightIconPair

    m_Tooltip

    Declaration
    protected string m_Tooltip
    Field Value
    Type Description
    String

    Properties

    ButtonName

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

    CreateInContextSelection

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

    Methods

    CreateGameObject()

    Declaration
    public abstract bool CreateGameObject()
    Returns
    Type Description
    Boolean

    CreationButtonContent()

    Declaration
    public GUIContent CreationButtonContent()
    Returns
    Type Description
    GUIContent
    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