Version: 5.6

HideInInspector

class in UnityEngine

매뉴얼로 전환

설명

Makes a variable not show up in the inspector but be serialized.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { [HideInInspector] public int p = 5; }