Skip to content
Jack Brookes edited this page Mar 23, 2019 · 1 revision

UXF.DraggableUI

A script that allows any GUI object to be draggable


Fields

None

Properties

None

Methods

UXF.DraggableUI.CalculateNewTransformOffset(UnityEngine.Vector2)

Clamps a mouse delta from the OnDrag event to ensure the dragged UI stays within the screen

Parameters

  • mouseDelta: Mouse delta from the onDrag event

Note: This file was automatically generated

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally