Свойство | 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 |
Méthode | 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 | |
Résultat | void |
public Launch ( tk2dAnimatedSprite sprite, tk2dSpriteAnimationClip clip, tk2dSpriteAnimationFrame frame, int frameNum ) : void | ||
sprite | tk2dAnimatedSprite | |
clip | tk2dSpriteAnimationClip | |
frame | tk2dSpriteAnimationFrame | |
frameNum | int | |
Résultat | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
Résultat | void |
public OnCollisionExit ( Collision collision ) : void | ||
collision | Collision | |
Résultat | void |
public OnTriggerEnter ( Collider collider ) : void | ||
collider | Collider | |
Résultat | void |
public OnTriggerExit ( Collider collider ) : void | ||
collider | Collider | |
Résultat | void |