C# Class DraggableItem, CodeSpells

Inheritance: MonoBehaviour
Show file Open project: srfoster/CodeSpells Class Usage Examples

Public Methods

Method Description
ActiveInInventory ( ) : void
DroppedOn ( GameObject gameObject ) : void
DroppedOnInventory ( Vector3 mousePosition ) : void

Protected Methods

Method Description
Drag ( ) : void
Drop ( ) : void
objectUnderCursor ( ) : GameObject

Method Details

ActiveInInventory() public method

public ActiveInInventory ( ) : void
return void

Drag() protected method

protected Drag ( ) : void
return void

Drop() protected method

protected Drop ( ) : void
return void

DroppedOn() public method

public DroppedOn ( GameObject gameObject ) : void
gameObject GameObject
return void

DroppedOnInventory() public method

public DroppedOnInventory ( Vector3 mousePosition ) : void
mousePosition Vector3
return void

objectUnderCursor() protected method

protected objectUnderCursor ( ) : GameObject
return GameObject