示例#1
0
        public override void OnRemove()
        {
            View.CameraNewPositionSignal.RemoveListener(OnNewPositionCameraRequested);

            ToggleRulerCameraSignal.RemoveListener(OnToggleRulerCameraReceived);
            NewCameraPositionSignal.RemoveListener(OnNewPositionCameraReceived);
        }
示例#2
0
        public override void OnRegister()
        {
            View.CameraNewPositionSignal.AddListener(OnNewPositionCameraRequested);

            ToggleRulerCameraSignal.AddListener(OnToggleRulerCameraReceived);
            NewCameraPositionSignal.AddListener(OnNewPositionCameraReceived);
            View.Initialize();
        }