public void Process(FytInput input) { if (!locked) { StateMachine.Process(input); if (input.Dragging()) { smoothCamera.ResetAlpha(); smoothCamera.ClearTransformTarget(); Vector3 dragAmount = input.WorldDragAmount(); smoothCamera.ChangePositionTarget(-dragAmount.x, -dragAmount.y); } } else { smoothCamera.Alpha = SmoothCamera.ALPHA_SLOW; partyLeader.Unit.Body.ApplyTransformToCamera(smoothCamera); } }