C# 클래스 DragDrop, AntsVsMice

상속: MonoBehaviour
파일 보기 프로젝트 열기: splashdamage/AntsVsMice 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
currentPhase Phase,
inDrag Tower,
lastScreenPos Vector3
layer LayerMask
moveSlopSquared float
startDragPos Vector3
startScreenPos Vector3
towerDepth float

공개 메소드들

메소드 설명
CancelDrag ( ) : void
Click ( Tower, t ) : void
Drop ( ) : void
GetTowerHere ( ) : Tower,
HandleInput ( ) : void
Start ( ) : void
StartDrag ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
Active ( ) : bool
OOB ( ) : bool

메소드 상세

CancelDrag() 공개 메소드

public CancelDrag ( ) : void
리턴 void

Click() 공개 메소드

public Click ( Tower, t ) : void
t Tower,
리턴 void

Drop() 공개 메소드

public Drop ( ) : void
리턴 void

GetTowerHere() 공개 메소드

public GetTowerHere ( ) : Tower,
리턴 Tower,

HandleInput() 공개 메소드

public HandleInput ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

StartDrag() 공개 메소드

public StartDrag ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

currentPhase 공개적으로 프로퍼티

public Phase, currentPhase
리턴 Phase,

inDrag 공개적으로 프로퍼티

public Tower, inDrag
리턴 Tower,

lastScreenPos 공개적으로 프로퍼티

public Vector3 lastScreenPos
리턴 Vector3

layer 공개적으로 프로퍼티

public LayerMask layer
리턴 LayerMask

moveSlopSquared 공개적으로 프로퍼티

public float moveSlopSquared
리턴 float

startDragPos 공개적으로 프로퍼티

public Vector3 startDragPos
리턴 Vector3

startScreenPos 공개적으로 프로퍼티

public Vector3 startScreenPos
리턴 Vector3

towerDepth 공개적으로 프로퍼티

public float towerDepth
리턴 float