My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Explosion Class Reference
Inheritance diagram for Explosion:
Modifiable

Public Member Functions

void Explode (Vector2 point)
 
void OnMasterDestroy ()
 
void SetContactPoint (Vector2 point, Vector2 normal)
 

Public Attributes

ObscuredFloat damage = 1.2f
 
ObscuredFloat stunSecs = 1.5f
 
ObscuredFloat stunIfDamageAtLeast = 0.5f
 
ObscuredFloat explosionRadius = 8.0f
 
ObscuredFloat explosionForce = 3000.0f
 
ObscuredFloat explosionUpliftModifier = 2.0f
 
GameObject[] groundExplosionPrefabs
 
GameObject[] airExplosionPrefabs
 
string explosionSound = "Grenade:Explode"
 
string debrisSound = "Explosion:Debris"
 
string pewSound = "Explosion:Pew"
 
int pewSoundProbability = 3
 
float explosionDestroySecs = 10.0f
 
float groundDistanceTolerance = 0.3f
 
bool syncExplode
 
ObscuredFloat camShakeAmount = 4.0f
 
Vector3 decalScale = Vector3.one
 
LayerMask decalIgnoreLayers
 
LayerMask explodeLayers
 
LayerMask explodeBlockLayers
 
Player damageOwner
 
float lagSecs
 
bool explodeOnDestroy
 
bool destroyed
 
HitEvent ExplosionCollided = new HitEvent()
 
UnityEvent OnExploded = new UnityEvent()
 

Additional Inherited Members

- Properties inherited from Modifiable
NetworkObject net [get]
 

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