Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Public Attributes | List of all members
KSP.UI.DragHandler Class Reference
Inheritance diagram for KSP.UI.DragHandler:
KSP.UI.UIDragPanel

Classes

class  DragEvent< PointerEventData >
 

Public Member Functions

void AddEvents (UnityAction< PointerEventData > onBeginDrag, UnityAction< PointerEventData > onDrag, UnityAction< PointerEventData > onEndDrag)
 
void AddEvents (UnityAction< PointerEventData > onInitializePotentialDrag, UnityAction< PointerEventData > onBeginDrag, UnityAction< PointerEventData > onDrag, UnityAction< PointerEventData > onEndDrag)
 
void ClearEvents ()
 
virtual void OnBeginDrag (PointerEventData eventData)
 
virtual void OnDrag (PointerEventData eventData)
 
virtual void OnEndDrag (PointerEventData eventData)
 
virtual void OnInitializePotentialDrag (PointerEventData eventData)
 
void RemoveEvents (UnityAction< PointerEventData > onBeginDrag, UnityAction< PointerEventData > onDrag, UnityAction< PointerEventData > onEndDrag)
 
void RemoveEvents (UnityAction< PointerEventData > onInitializePotentialDrag, UnityAction< PointerEventData > onBeginDrag, UnityAction< PointerEventData > onDrag, UnityAction< PointerEventData > onEndDrag)
 

Public Attributes

DragEvent< PointerEventData > onBeginDrag = new DragEvent<PointerEventData>()
 
DragEvent< PointerEventData > onDrag = new DragEvent<PointerEventData>()
 
DragEvent< PointerEventData > onEndDrag = new DragEvent<PointerEventData>()
 
DragEvent< PointerEventData > onInitializePotentialDrag = new DragEvent<PointerEventData>()
 

Member Function Documentation

void KSP.UI.DragHandler.AddEvents ( UnityAction< PointerEventData >  onBeginDrag,
UnityAction< PointerEventData >  onDrag,
UnityAction< PointerEventData >  onEndDrag 
)
inline
void KSP.UI.DragHandler.AddEvents ( UnityAction< PointerEventData >  onInitializePotentialDrag,
UnityAction< PointerEventData >  onBeginDrag,
UnityAction< PointerEventData >  onDrag,
UnityAction< PointerEventData >  onEndDrag 
)
inline
void KSP.UI.DragHandler.ClearEvents ( )
inline
virtual void KSP.UI.DragHandler.OnBeginDrag ( PointerEventData  eventData)
inlinevirtual

Reimplemented in KSP.UI.UIDragPanel.

virtual void KSP.UI.DragHandler.OnDrag ( PointerEventData  eventData)
inlinevirtual

Reimplemented in KSP.UI.UIDragPanel.

virtual void KSP.UI.DragHandler.OnEndDrag ( PointerEventData  eventData)
inlinevirtual

Reimplemented in KSP.UI.UIDragPanel.

virtual void KSP.UI.DragHandler.OnInitializePotentialDrag ( PointerEventData  eventData)
inlinevirtual
void KSP.UI.DragHandler.RemoveEvents ( UnityAction< PointerEventData >  onBeginDrag,
UnityAction< PointerEventData >  onDrag,
UnityAction< PointerEventData >  onEndDrag 
)
inline
void KSP.UI.DragHandler.RemoveEvents ( UnityAction< PointerEventData >  onInitializePotentialDrag,
UnityAction< PointerEventData >  onBeginDrag,
UnityAction< PointerEventData >  onDrag,
UnityAction< PointerEventData >  onEndDrag 
)
inline

Member Data Documentation

DragEvent<PointerEventData> KSP.UI.DragHandler.onBeginDrag = new DragEvent<PointerEventData>()
DragEvent<PointerEventData> KSP.UI.DragHandler.onDrag = new DragEvent<PointerEventData>()
DragEvent<PointerEventData> KSP.UI.DragHandler.onEndDrag = new DragEvent<PointerEventData>()
DragEvent<PointerEventData> KSP.UI.DragHandler.onInitializePotentialDrag = new DragEvent<PointerEventData>()

The documentation for this class was generated from the following file: