How To Hide Public Variables

[Solved] How To Hide Public Variables | Csharp - Code Explorer | yomemimo.com
Question : how to hide public variables

Answered by : sec-ret

public float notHidden; // Displayed
[HideInInspector] // Hides var below
public float hidden;
//This is from another user in a searched link
//just think showing it here would be easier
//Props to boymeetsrobot
// Link:
// https://answers.unity.com/questions/31254/invisible-public-variable-in-inspector.html

Source : | Last Update : Sun, 24 Jul 22

Answers related to how to hide public variables

Code Explorer Popular Question For Csharp