Unity
[Unity] public 변수를 인스펙터에서 안보이게
바르마스
2023. 5. 25. 11:04
728x90
[System.NonSerialized] public float attack;
or
[HideInspector] public int count;
참고
https://docs.unity3d.com/ScriptReference/HideInInspector.html
Unity - Scripting API: HideInInspector
Success! Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable. Close
docs.unity3d.com
728x90