Class ISetEditingContextMethods | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class ISetEditingContextMethods

    Inheritance
    Object
    ISetEditingContextMethods
    Namespace: UnityEditor.Experimental.EditorVR
    Syntax
    public static class ISetEditingContextMethods

    Methods

    GetAvailableEditingContexts(ISetEditingContext)

    Get the currently available editing contexts NOTE: Dynamic contexts can be added to the list to make them available

    Declaration
    public static List<IEditingContext> GetAvailableEditingContexts(this ISetEditingContext obj)
    Parameters
    Type Name Description
    ISetEditingContext obj
    Returns
    Type Description
    List<IEditingContext>

    List of the currently available editing contexts

    GetPreviousEditingContexts(ISetEditingContext)

    Get the previous editing contexts that were set

    Declaration
    public static List<IEditingContext> GetPreviousEditingContexts(this ISetEditingContext obj)
    Parameters
    Type Name Description
    ISetEditingContext obj
    Returns
    Type Description
    List<IEditingContext>

    List of the previous editing contexts (last one used is first in list)

    RestorePreviousEditingContext(ISetEditingContext)

    Restore the previous editing context, which will dispose of the current editing context

    Declaration
    public static void RestorePreviousEditingContext(this ISetEditingContext obj)
    Parameters
    Type Name Description
    ISetEditingContext obj

    SetEditingContext(ISetEditingContext, IEditingContext)

    Set the editing context, which will dispose of the current editing context

    Declaration
    public static void SetEditingContext(this ISetEditingContext obj, IEditingContext context)
    Parameters
    Type Name Description
    ISetEditingContext obj
    IEditingContext context

    The editing context to use

    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