// 摄像机事件点到达 void onCameraEventPointTrigger(EventBase evt) { CameraAnimatorEvent e = evt as CameraAnimatorEvent; List <string> arr = new List <string>(); arr.Add(e.mName); TriggerEvent("onCameraPathEvent", arr); }
// 摄像机路径完成 void onCameraAnimatorFinish(EventBase evt) { CameraAnimatorEvent e = evt as CameraAnimatorEvent; List <string> arr = new List <string>(); arr.Add(e.mName); TriggerEvent("onCameraPathFinish", arr); //temp CameraController.Instance.StopCameraAniamtion(); }