40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/IonBoltBehaviour.html
|
|
Title: People Playground Modding - IonBoltBehaviour
|
|
==================================================
|
|
|
|
public class IonBoltBehaviour
|
|
Inherits MonoBehaviour
|
|
Controls the projectile an Ion Cannon fires
|
|
Fields
|
|
public float Speed
|
|
Speed of the projectile
|
|
|
|
public DecalDescriptor ImpactDecal
|
|
The decal to create on collision
|
|
|
|
public GameObject ImpactEffect
|
|
Effect to spawn on collision
|
|
|
|
public GameObject EndOfLifeEffect
|
|
Effect to spawn on explode
|
|
|
|
public GameObject Particles
|
|
Reference to the trailing particles
|
|
|
|
public float ImpactStrength
|
|
Amount of force to apply to objects that the projectile collides with
|
|
|
|
public LayerMask Layers
|
|
Layers to collide with
|
|
|
|
public float Damage
|
|
Damage to do the the object that the projectile collides with
|
|
|
|
public float DecalSize
|
|
Size of the decals to create on collide
|
|
|
|
public float AoERadius
|
|
The area-of-effect radius to consider on collide
|
|
|
|
public DeleteAfterTime DeleteAfterTime
|
|
Reference to the DeleteAfterTime behaviour that will delete this projectile |