- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
Humayun Rashid · Jul 28, 2015 at 04:34 AM ·
functionvariableshideregion
How can you hide variables within a region in a c# script?
How can you hide variables within a region in a c# script? I tried the #region function but it doesn't seem to work.
Comment
Answer by YoungDeveloper · Jul 28, 2015 at 04:35 AM
#region FIELDS
private int _health;
#endregion
Be sure to enable region folding in mono or visual studio.