Regions

From Pointui

Sometimes you can end up typing a lot of code and to make it a bit easier to organize in the file you can use #region and #endregion to group code. The Pointui C Script parser will ignore these, but if you are editing in Visual Studio then it will allow collapsing and expanding of these regions.

Example

#region Some Custom Controls
//…..
#endregion