Property | Type | Description | |
---|---|---|---|
anim | tk2dAnimatedSprite | ||
collisions | HashSet |
||
currentAmmo | Ammo | ||
currentLevel | Level | ||
firing | bool | ||
inFocus | Tower | ||
launchFrom | Transform | ||
levels | Level[] | ||
noTowerMask | LayerMask | ||
placed | bool | ||
radiusSprite | tk2dSprite | ||
target | Enemy | ||
targetLayer | LayerMask |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Dragging ( ) : void | ||
FindTarget ( ) : Enemy | ||
Fire ( ) : void | ||
FireCompleteDelegate ( tk2dAnimatedSprite sprite, int clipId ) : void | ||
Launch ( tk2dAnimatedSprite sprite, tk2dSpriteAnimationClip clip, tk2dSpriteAnimationFrame frame, int frameNum ) : void | ||
OnCollisionEnter ( Collision collision ) : void | ||
OnCollisionExit ( Collision collision ) : void | ||
OnDrawGizmos ( ) : void | ||
OnGUI ( ) : void | ||
OnTriggerEnter ( Collider collider ) : void | ||
OnTriggerExit ( Collider collider ) : void | ||
Reload ( Ammo newAmmo ) : void | ||
Update ( ) : void |
public FireCompleteDelegate ( tk2dAnimatedSprite sprite, int clipId ) : void | ||
sprite | tk2dAnimatedSprite | |
clipId | int | |
return | void |
public Launch ( tk2dAnimatedSprite sprite, tk2dSpriteAnimationClip clip, tk2dSpriteAnimationFrame frame, int frameNum ) : void | ||
sprite | tk2dAnimatedSprite | |
clip | tk2dSpriteAnimationClip | |
frame | tk2dSpriteAnimationFrame | |
frameNum | int | |
return | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnCollisionExit ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public OnTriggerEnter ( Collider collider ) : void | ||
collider | Collider | |
return | void |
public OnTriggerExit ( Collider collider ) : void | ||
collider | Collider | |
return | void |