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 |