Ejemplo n.º 1
0
        public override void OnRemove()
        {
            View.CameraNewPositionSignal.RemoveListener(OnNewPositionCameraRequested);

            ToggleRulerCameraSignal.RemoveListener(OnToggleRulerCameraReceived);
            NewCameraPositionSignal.RemoveListener(OnNewPositionCameraReceived);
        }
Ejemplo n.º 2
0
        public override void OnRegister()
        {
            View.CameraNewPositionSignal.AddListener(OnNewPositionCameraRequested);

            ToggleRulerCameraSignal.AddListener(OnToggleRulerCameraReceived);
            NewCameraPositionSignal.AddListener(OnNewPositionCameraReceived);
            View.Initialize();
        }
Ejemplo n.º 3
0
 private void OnRulerCameraRequested(bool value)
 {
     ToggleRulerCameraSignal.Dispatch(value);
 }