Class EditorTestUtilities | Project Tiny | 0.32.0-preview.54
docs.unity3d.com
    Show / Hide Table of Contents

    Class EditorTestUtilities

    Inheritance
    Object
    EditorTestUtilities
    Namespace: Global Namespace
    Syntax
    public static class EditorTestUtilities

    Fields

    Epsilon

    Declaration
    public const float Epsilon = 0.001F
    Field Value
    Type Description
    Single

    Methods

    AddSortingLayerToTagManager(String)

    Add a new sorting layer to the TagManager if it's not already there

    Declaration
    public static bool AddSortingLayerToTagManager(string sortingLayerName)
    Parameters
    Type Name Description
    String sortingLayerName

    The name of the Sorting Layer to be added

    Returns
    Type Description
    Boolean

    If the Sorting Layer to add is already in the TagManager, false is returned, true otherwise

    RemoveSortingLayerFromTagManager(String)

    Declaration
    public static void RemoveSortingLayerFromTagManager(string sortingLayerName)
    Parameters
    Type Name Description
    String sortingLayerName

    SortingLayerExists(String)

    Declaration
    public static bool SortingLayerExists(string sortingLayerName)
    Parameters
    Type Name Description
    String sortingLayerName
    Returns
    Type Description
    Boolean
    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