public override void OnRemove() { View.CameraNewPositionSignal.RemoveListener(OnNewPositionCameraRequested); ToggleRulerCameraSignal.RemoveListener(OnToggleRulerCameraReceived); NewCameraPositionSignal.RemoveListener(OnNewPositionCameraReceived); }
public override void OnRegister() { View.CameraNewPositionSignal.AddListener(OnNewPositionCameraRequested); ToggleRulerCameraSignal.AddListener(OnToggleRulerCameraReceived); NewCameraPositionSignal.AddListener(OnNewPositionCameraReceived); View.Initialize(); }