/*************************************************************************************
  *
  * OVERLOADED METHODS from MonoBehaviour
  *
  *************************************************************************************/
 // Use this for initialization
 void Start()
 {
     s_instance = GetInstance();
     Init();
 }
 private static PerformanceDebug GetInstance()
 {
     if (s_instance == null) {
       	s_instance =  (PerformanceDebug)FindObjectOfType(typeof (PerformanceDebug)) as PerformanceDebug;
         if (s_instance == null)
             Debug.LogError("PerformanceDebug instance not found, you need to add it to the scene");
      }
      else {
      	Debug.LogError("Multiple PerformanceDebug instances, there can be only one.");
      }
      return s_instance;
 }