regions unity c# code example
Example 1: #region in c#
#region Properties
//code written between this can be expanded or minimzed using (+) or (-) in the code editor.
//This is just for better visibility.
#endregion Properties
Example 2: regions unity
// Visual Studio:
#region Region Name
// Put your code here
#endregion
/*
*Ctrl-M twice to close it
*Click on the region to close it
*Click on it and press Ctrl-H to search it
*/
Example 3: regions unity
// Visual Stuido Code:
#region Region Name
// Put your code here
#endregion
/*
*Ctrl+Shift+[ to close it
*Ctrl+Shift+] to open it
*/