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