Show / Hide

This will Show / Hide the gameOverUI when Start

using ZovaStudio.UI;
using UnityEngine;

public class UIAnimator_DemoScript : MonoBehaviour
{
    public UIAnimator gameOverUI;
    
    void Start()
    {
        gameOverUI.Show();
        //Or 
        gameOverUI.Hide();
    }
}

This will Show / Hide the gameOverUI Instantly (Without Animation) when Start

using ZovaStudio.UI;
using UnityEngine;

public class UIAnimator_DemoScript : MonoBehaviour
{
    public UIAnimator gameOverUI;
    
    void Start()
    {
        gameOverUI.InstantShow();
        //Or
        gameOverUI.InstantHide();
    }
}

This will Show / Hide the gameOverUI with Delay (Without Animation) when Start

using ZovaStudio.UI;
using UnityEngine;

public class UIAnimator_DemoScript : MonoBehaviour
{
    public UIAnimator gameOverUI;
    
    void Start()
    {
        gameOverUI.DelayedShow(1.5f); //Delay 1.5s
        //Or
        gameOverUI.DelayedHide(1.5f); //Delay 1.5s
    }
}

Last updated