private void OnDisable() { if (m_Registered) { m_Text.UnregisterDirtyVerticesCallback(Refresh); m_Registered = false; } }