Example #1
0
	public bool Launch (CameraController controller)
	{
		if (null == controller) {
			return false;
		}

		if (null != focus && !Transform.Equals (focus, controller.focus)) {
			controller.ResetCurrentInfoByFocus (focus);
		}

		originalFocusOffset = controller.focusOffset;
		originalFocusViewPort = controller.focusViewPort;
		if (Vector3.Equals (originalFocusViewPort, targetFocusViewPort)) {
			return false;
		}
			
		Start (controller);
			
		return true;
	}