docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct DarkLightIconPair

    Set of icons for GUI that switches between the professional skin and personal skin versions based on the current GUI skin.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.MARS
    Assembly: Unity.MARS.Editor.dll
    Syntax
    [Serializable]
    public struct DarkLightIconPair

    Properties

    Dark

    Icon for the professional skin

    Declaration
    public Texture2D Dark { get; }
    Property Value
    Type Description
    Texture2D

    Icon

    Icon for the currently active GUI skin

    Declaration
    public Texture2D Icon { get; }
    Property Value
    Type Description
    Texture2D

    Light

    Icon for the personal skin

    Declaration
    public Texture2D Light { get; }
    Property Value
    Type Description
    Texture2D
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)