Astra Child

How to hide all UIViews

Estimated reading: 1 minute 0 views

Example

The example below shows how to hide all views.

using Doozy.Runtime.UIManager.Containers;
using UnityEngine;
namespace Sandbox
{
    public class TestClass : MonoBehaviour
    {
        private void OnEnable()
        {
            UIView.HideAllViews();     // ANIMATED
            UIView.HideAllViews(true); // INSTANT
        }
    }
}
Share this Doc
CONTENTS
Scroll to Top