예제 #1
0
    // 摄像机事件点到达
    void onCameraEventPointTrigger(EventBase evt)
    {
        CameraAnimatorEvent e = evt as CameraAnimatorEvent;

        List <string> arr = new List <string>();

        arr.Add(e.mName);
        TriggerEvent("onCameraPathEvent", arr);
    }
예제 #2
0
    // 摄像机路径完成
    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();
    }