This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using UnityEngine; | |
| namespace SpecificNamespace | |
| { | |
| [AddComponentMenu("SpecificName")] | |
| public class CommonName : MonoBehaviour | |
| { } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Reflection; | |
| using UnityEditor; | |
| public static class ConsoleUtilitiesEditor | |
| { | |
| [MenuItem("Tools/Clear Console %#c")] // Cmd/Ctrl + Shift + C | |
| private static void ClearConsoleMenuItem() | |
| { | |
| ClearConsole(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * Benchmark describes comparation of 'for' and 'foreach' in Unity 5.5.0f3 (64-bit). | |
| * 1000 element arrays and lists of classes and structs were tested in loops with 500 000 iterations. | |
| */ | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using UnityEngine; |