docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IWillRender

    Implementors can expose visibility callbacks to UI components when they are added to the same GameObject

    Namespace: Unity.EditorXR.Modules
    Assembly: solution.dll
    Syntax
    public interface IWillRender

    Properties

    Name Description
    rectTransform

    The RectTransform that represents this object

    removeSelf

    An action supplied to implementors which allows them to remove themselves from the visible list in case they are pooled

    Methods

    Name Description
    OnBecameInvisible()

    Called when the object becomes invisible

    OnBecameVisible()

    Called when the object becomes visible

    In This Article
    Back to top
    Copyright © 2024 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)