예제 #1
0
 /// <summary>
 /// 界面深度改变。
 /// </summary>
 /// <param name="uiGroupDepth">界面组深度。</param>
 /// <param name="depthInUIGroup">界面在界面组中的深度。</param>
 public void OnDepthChanged(int uiGroupDepth, int depthInUIGroup)
 {
     m_DepthInUIGroup = depthInUIGroup;
     try
     {
         m_UIFormLogic.OnDepthChanged(uiGroupDepth, depthInUIGroup);
     }
     catch (Exception exception)
     {
         Log.Error("UI form '[{0}]{1}' OnDepthChanged with exception '{2}'.", m_SerialId.ToString(), m_UIFormAssetName, exception.ToString());
     }
 }
예제 #2
0
 /// <summary>
 /// 界面深度改变。
 /// </summary>
 /// <param name="uiGroupDepth">界面组深度。</param>
 /// <param name="depthInUIGroup">界面在界面组中的深度。</param>
 public void OnDepthChanged(int uiGroupDepth, int depthInUIGroup)
 {
     m_DepthInUIGroup = depthInUIGroup;
     m_UIFormLogic.OnDepthChanged(uiGroupDepth, depthInUIGroup);
 }