Property | Type | Description | |
---|---|---|---|
bulletPhys | |||
critGameObject | GameObject | ||
deleteEmptyTime | float | ||
emptySprite | Sprite | ||
playerid | int | ||
projectileGameObject | GameObject | ||
reticlePos | Vector2 | ||
shellSprite | Sprite | ||
shootPoint | Vector3 | ||
soundTag | string | ||
timeToShoot | float | ||
trigger | bool |
Method | Description | |
---|---|---|
Damage ( Transform t, Vector2 endPoint, Vector2 angle ) : void | ||
Death ( ) : void | ||
NotDeath ( ) : void | ||
OnCollisionEnter2D ( Collision2D col ) : void | ||
SetPlayerID ( int playerid ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
click ( ) : void | ||
unclick ( ) : void |
Method | Description | |
---|---|---|
GetOdds ( ) : bool |
public Damage ( Transform t, Vector2 endPoint, Vector2 angle ) : void | ||
t | Transform | |
endPoint | Vector2 | |
angle | Vector2 | |
return | void |
public OnCollisionEnter2D ( Collision2D col ) : void | ||
col | Collision2D | |
return | void |
public PhysicsMaterial2D,UnityEngine bulletPhys | ||
return |