unity what do regions do code example
Example 1: 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 2: regions unity
// Visual Stuido Code:
#region Region Name
// Put your code here
#endregion
/*
*Ctrl+Shift+[ to close it
*Ctrl+Shift+] to open it
*/