|
Quaternion | GetRotation (Vector2 normal, Vector2 velocity) |
|
void | Hit (ImpactData data) |
|
void | HitEffects (Vector2 position, float damage, Vector2 normal, Quaternion rotation, ImpactEffectMask effectsMask) |
|
|
static ParticleSystem | HitParticle (GameObject prefab, float size, Vector2 position, Vector2 normal, Quaternion rotation, bool limit=true) |
|
|
bool | takeDefault = true |
|
bool | normalFromVelocity |
|
bool | alwaysPenetrate |
|
float | forceMultiplier = 1f |
|
List< Effect > | effects |
|
ImpactEvent | Impacted |
|
|
static bool | POOLED_PARTICLES = true |
|
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Engine/Object/Impact.cs