private void Update()
 {
     if (m_instance == null)
     {
         m_instance      = this;
         m_renderObjects = new List <IGL>();
     }
 }
        private void Awake()
        {
            if (m_instance != null)
            {
                Debug.LogWarning("Another instance of GLLinesRenderer aleready exist");
            }
            m_instance = this;

            m_renderObjects = new List <IGL>();
        }
 private static void OnScriptsReloaded()
 {
     if (m_instance == null)
     {
         GLRenderer glRenderer = FindObjectOfType <GLRenderer>();
         if (glRenderer != null)
         {
             glRenderer.m_renderObjects = new List <IGL>();
             m_instance = glRenderer;
         }
     }
 }