How to show a UIContainer
Example
A UIContainer can be shown from code if you have a reference to it. Below is a code example on how to do it.
using Doozy.Runtime.UIManager.Containers;
using UnityEngine;
namespace Sandbox
{
public class TestClass : MonoBehaviour
{
public UIContainer TargetContainer;
private void OnEnable()
{
TargetContainer.Show(); //show container - ANIMATED
//or
TargetContainer.InstantShow(); //show container - INSTANT
}
}
}
Code language: PHP (php)