Show / Hide

This will Show / Hide the gameOverUI when Start

using GKStudio.Muse;
using UnityEngine;

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

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

using GKStudio.Muse;
using UnityEngine;

public class MuseUI_DemoScript : MonoBehaviour
{
    public MuseUI gameOverUI;
    
    void Start()
    {
        gameOverUI.Show(true); //The bool argument: isInstant
        //Or
        gameOverUI.Hide(true); //The bool argument: isInstant
    }
}

Last updated