C# Class DragDrop, AntsVsMice

Inheritance: MonoBehaviour
显示文件 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_oe property

public Phase, currentPhase
return Phase,

inDrag public_oe property

public Tower, inDrag
return Tower,

lastScreenPos public_oe property

public Vector3 lastScreenPos
return Vector3

layer public_oe property

public LayerMask layer
return LayerMask

moveSlopSquared public_oe property

public float moveSlopSquared
return float

startDragPos public_oe property

public Vector3 startDragPos
return Vector3

startScreenPos public_oe property

public Vector3 startScreenPos
return Vector3

towerDepth public_oe property

public float towerDepth
return float