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

    Class CreateButtonsOverlay

    UI for button overlay for creating in simulation view

    Inheritance
    Object
    CreateButtonsOverlay
    Namespace: Unity.MARS
    Syntax
    public class CreateButtonsOverlay : VisualElement

    Constructors

    CreateButtonsOverlay()

    Declaration
    public CreateButtonsOverlay()

    Properties

    CreateButton

    Declaration
    public Button CreateButton { get; }
    Property Value
    Type Description
    Button

    Methods

    SetButtonsPosition(Vector2)

    Declaration
    public void SetButtonsPosition(Vector2 viewportPoint)
    Parameters
    Type Name Description
    Vector2 viewportPoint

    SetButtonsVisible(Boolean)

    Declaration
    public void SetButtonsVisible(bool visibility)
    Parameters
    Type Name Description
    Boolean visibility
    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