C# Class DragDrop, AntsVsMice

Inheritance: MonoBehaviour
Show file Open project: splashdamage/AntsVsMice Class Usage Examples

Public Properties

Property Type Description
currentPhase Phase,
inDrag Tower,
lastScreenPos Vector3
layer LayerMask
moveSlopSquared float
startDragPos Vector3
startScreenPos Vector3
towerDepth float

Public Methods

Method Description
CancelDrag ( ) : void
Click ( Tower, t ) : void
Drop ( ) : void
GetTowerHere ( ) : Tower,
HandleInput ( ) : void
Start ( ) : void
StartDrag ( ) : void
Update ( ) : void

Private Methods

Method Description
Active ( ) : bool
OOB ( ) : bool

Method Details

CancelDrag() public method

public CancelDrag ( ) : void
return void

Click() public method

public Click ( Tower, t ) : void
t Tower,
return void

Drop() public method

public Drop ( ) : void
return void

GetTowerHere() public method

public GetTowerHere ( ) : Tower,
return Tower,

HandleInput() public method

public HandleInput ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartDrag() public method

public StartDrag ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

currentPhase public property

public Phase, currentPhase
return Phase,

inDrag public property

public Tower, inDrag
return Tower,

lastScreenPos public property

public Vector3 lastScreenPos
return Vector3

layer public property

public LayerMask layer
return LayerMask

moveSlopSquared public property

public float moveSlopSquared
return float

startDragPos public property

public Vector3 startDragPos
return Vector3

startScreenPos public property

public Vector3 startScreenPos
return Vector3

towerDepth public property

public float towerDepth
return float