Tanoda
MouseDragBehaviour Class Reference
Inheritance diagram for MouseDragBehaviour:

Public Member Functions

void Start ()
 
void OnBeginDrag (PointerEventData eventData)
 
void OnDrag (PointerEventData eventData)
 This method will be called during the mouse drag More...
 
void OnEndDrag (PointerEventData eventData)
 This method will be called at the end of mouse drag More...
 
void OnInitializePotentialDrag (PointerEventData eventData)
 
void OnPointerClick (PointerEventData eventData)
 
void OnPointerDown (PointerEventData eventData)
 
void OnPointerUp (PointerEventData eventData)
 
void RowCircle (DropArea dropArea)
 
void FullCircle (DropArea dropArea)
 
void ReParent ()
 
List< GameObject > InputList ()
 
GameObject addedGameObject ()
 
void refreshConnectionPos (GameObject ConnectedGO)
 
bool IsConnectionHidden ()
 
void AddGameObject ()
 

Public Attributes

Vector3 StartPosition
 

Static Public Attributes

static MouseDragBehaviour Instance
 

Properties

bool FollowCursor = true [get, set]
 
bool CanDrag = true [get, set]
 

Events

Action< PointerEventData > OnBeginDragHandler
 
Action< PointerEventData > OnDragHandler
 
Action< PointerEventData, bool > OnEndDragHandler
 

Detailed Description

Definition at line 10 of file MouseDragBehaviour.cs.

Member Function Documentation

◆ addedGameObject()

GameObject MouseDragBehaviour.addedGameObject ( )

Definition at line 475 of file MouseDragBehaviour.cs.

◆ AddGameObject()

void MouseDragBehaviour.AddGameObject ( )

Definition at line 541 of file MouseDragBehaviour.cs.

◆ FullCircle()

void MouseDragBehaviour.FullCircle ( DropArea  dropArea)

Definition at line 435 of file MouseDragBehaviour.cs.

◆ InputList()

List< GameObject > MouseDragBehaviour.InputList ( )

Definition at line 471 of file MouseDragBehaviour.cs.

◆ IsConnectionHidden()

bool MouseDragBehaviour.IsConnectionHidden ( )

Definition at line 532 of file MouseDragBehaviour.cs.

◆ OnBeginDrag()

void MouseDragBehaviour.OnBeginDrag ( PointerEventData  eventData)

Definition at line 77 of file MouseDragBehaviour.cs.

◆ OnDrag()

void MouseDragBehaviour.OnDrag ( PointerEventData  eventData)

This method will be called during the mouse drag

Parameters
eventDatamouse pointer event data

Definition at line 160 of file MouseDragBehaviour.cs.

◆ OnEndDrag()

void MouseDragBehaviour.OnEndDrag ( PointerEventData  eventData)

This method will be called at the end of mouse drag

Parameters
eventData

Definition at line 194 of file MouseDragBehaviour.cs.

◆ OnInitializePotentialDrag()

void MouseDragBehaviour.OnInitializePotentialDrag ( PointerEventData  eventData)

Definition at line 380 of file MouseDragBehaviour.cs.

◆ OnPointerClick()

void MouseDragBehaviour.OnPointerClick ( PointerEventData  eventData)

Definition at line 404 of file MouseDragBehaviour.cs.

◆ OnPointerDown()

void MouseDragBehaviour.OnPointerDown ( PointerEventData  eventData)

Definition at line 419 of file MouseDragBehaviour.cs.

◆ OnPointerUp()

void MouseDragBehaviour.OnPointerUp ( PointerEventData  eventData)

Definition at line 424 of file MouseDragBehaviour.cs.

◆ refreshConnectionPos()

void MouseDragBehaviour.refreshConnectionPos ( GameObject  ConnectedGO)

Definition at line 511 of file MouseDragBehaviour.cs.

◆ ReParent()

void MouseDragBehaviour.ReParent ( )

Definition at line 441 of file MouseDragBehaviour.cs.

◆ RowCircle()

void MouseDragBehaviour.RowCircle ( DropArea  dropArea)

Definition at line 429 of file MouseDragBehaviour.cs.

◆ Start()

void MouseDragBehaviour.Start ( )

Definition at line 65 of file MouseDragBehaviour.cs.

Member Data Documentation

◆ Instance

MouseDragBehaviour MouseDragBehaviour.Instance
static

Definition at line 44 of file MouseDragBehaviour.cs.

◆ StartPosition

Vector3 MouseDragBehaviour.StartPosition

Definition at line 18 of file MouseDragBehaviour.cs.

Property Documentation

◆ CanDrag

bool MouseDragBehaviour.CanDrag = true
getset

Definition at line 19 of file MouseDragBehaviour.cs.

◆ FollowCursor

bool MouseDragBehaviour.FollowCursor = true
getset

Definition at line 17 of file MouseDragBehaviour.cs.

Event Documentation

◆ OnBeginDragHandler

Action<PointerEventData> MouseDragBehaviour.OnBeginDragHandler

Definition at line 14 of file MouseDragBehaviour.cs.

◆ OnDragHandler

Action<PointerEventData> MouseDragBehaviour.OnDragHandler

Definition at line 15 of file MouseDragBehaviour.cs.

◆ OnEndDragHandler

Action<PointerEventData, bool> MouseDragBehaviour.OnEndDragHandler

Definition at line 16 of file MouseDragBehaviour.cs.


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