Answers for "unity inspector hide and show ui"

C#
1

how to hide a panel ui unity

Panel.gameObject.SetActive (false);
Posted by: Guest on February-07-2020
0

unity hide in inspector

using UnityEngine;

public class Example : MonoBehaviour
{
    // Make the variable p not show up in the inspector
    // but be serialized.
    [HideInInspector]
    int p = 5;
}
Posted by: Guest on October-25-2020

C# Answers by Framework

Browse Popular Code Answers by Language