Show / Hide Table of Contents

Class DragWindowCntrl

Simple dragging
Inheritance
System.Object
DragWindowCntrl
Implements
IBeginDragHandler
IDragHandler
Namespace: Jotunn.GUI
Assembly: Jotunn.dll
Syntax
public class DragWindowCntrl : MonoBehaviour, IBeginDragHandler, IDragHandler

Methods

| Improve this Doc View Source

ApplyDragWindowCntrl(GameObject)

Add this MonoBehaviour to a GameObject
Declaration
[Obsolete("Use gameObject.AddComponent<DragWindowCntrl>() instead")]
public static void ApplyDragWindowCntrl(GameObject go)
Parameters
Type Name Description
GameObject go
| Improve this Doc View Source

OnBeginDrag(PointerEventData)

BeginDrag event trigger
Declaration
public void OnBeginDrag(PointerEventData eventData)
Parameters
Type Name Description
PointerEventData eventData
| Improve this Doc View Source

OnDrag(PointerEventData)

Drag event trigger
Declaration
public void OnDrag(PointerEventData eventData)
Parameters
Type Name Description
PointerEventData eventData

Implements

IBeginDragHandler
IDragHandler

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾