My Project
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
StandardBullet Class Reference
Inheritance diagram for StandardBullet:
Modifiable

Public Member Functions

void ManualStart ()
 
void Die ()
 
void Extrapolate (float timeSecs)
 
void AddToBulletList (int bulletId)
 

Static Public Member Functions

static void RemoveFromBulletList (int bulletId, Vector2 moveToPos, bool destroy)
 
static StandardBullet GetFromBulletList (int bulletId)
 

Public Attributes

TrailRenderer trail
 
float trailTimeScale = 1.0f
 
float trailWidthScale = 1.0f
 
float timeOutSecs = 1.0f
 
bool dieOnStop = true
 
float dropAfterDistanceScreenPercent = 1.0f
 
float dropGravityScalePercent = 1.0f
 
float dropDampPercent = 1.0f
 
float damageDropPercent = 1.0f
 
Gradient droppingGradient
 
ImpactEffectMask effectMask = ImpactEffectMask.Bullet
 
bool clientSideCollisionEffectOnlyIfSure = true
 
bool noClientSideCollision = false
 
LayerMask teamIgnoreLayer
 
bool syncDestroy
 
float damage = 1.0f
 
float force = 50.0f
 
float flagforce = 50.0f
 
float knockOut = 1.0f
 
float upwardsPercent = 0.0f
 
bool onlyDead = true
 
Vector2 aimPos
 
float ricochetCoef = -0.2f
 
Vector2 startVelocity
 
float penetration
 
float headModifier
 
float torsoModifier
 
float legsModifier
 
GameObject owner
 
Team ownerTeam
 
Player damagePlayer
 
NetworkObject damageObject
 
int bulletId
 
VerletProjectile verlet
 
StandardBulletEvent OnStop = new StandardBulletEvent()
 
StandardBulletEvent OnDie = new StandardBulletEvent()
 
ImpactEvent OnImpact = new ImpactEvent()
 
MeshRenderer[] renderers
 
Explosion explo
 
bool damageTiedToVelocity = true
 

Static Public Attributes

static Dictionary< int, StandardBulletbulletList = new Dictionary<int, StandardBullet>()
 

Properties

Vector2 Velocity [get, set]
 
- Properties inherited from Modifiable
NetworkObject net [get]
 

The documentation for this class was generated from the following file: