Ejemplo n.º 1
0
 /// <summary>
 /// 外部调用摄像机动画的接口
 /// </summary>
 /// <returns>总时长</returns>
 /// <param name="nRockId">N rock identifier.</param>
 public float StartAnim(int nAnimId, Callback finishCallback = null)
 {
     if (m_CurrentCamera == m_ThirdPersonCamera && m_ThirdPersonCamera != null)
     {
         return(m_ThirdPersonCamera.StartCameraAnim(nAnimId, finishCallback));
     }
     return(0);
 }