//---------------------------------------------------------------------------- private void OnRegisterAllUI() { if (m_layerUI != null) { m_layerUI.RegisterUIControl(); } }