Class ExplosionConfig
Data configuration struct for explosion component
Inheritance
System.Object
ExplosionConfig
Assembly: Eco.Gameplay.dll
Syntax
public sealed class ExplosionConfig : ValueType
Constructors
ExplosionConfig()
Declaration
Fields
BlockFallConfig
Declaration
public BlockFallConfig BlockFallConfig
Field Value
Properties
CaloriesBurn
Declaration
public float CaloriesBurn { get; set; }
Property Value
Type |
Description |
System.Single |
|
CraterRadius
Radius of inner explosion (Blocks in this radius will be moved outside to form a hole)
Declaration
public int CraterRadius { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ExplosionRadius
Radius to create block conversion and other interactions(outer range, used to determine block conversion impact, like stone to crushed)
Declaration
public int ExplosionRadius { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
FuseTime
Declaration
public float FuseTime { get; set; }
Property Value
Type |
Description |
System.Single |
|
LightOtherFusesOnExplosion
Declaration
public bool LightOtherFusesOnExplosion { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PollutionTons
Declaration
public float PollutionTons { get; set; }
Property Value
Type |
Description |
System.Single |
|
Extension Methods