49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
URL: https://wiki.studiominus.nl/internalReference/AcceleratorBoltBehaviour.html
|
|
Title: People Playground Modding - AcceleratorBoltBehaviour
|
|
==================================================
|
|
|
|
public class AcceleratorBoltBehaviour
|
|
Inherits BaseBoltBehaviour
|
|
No description provided
|
|
Fields
|
|
public float EnergyLevel
|
|
Energy level of the projectile
|
|
|
|
public float CameraShakeAmount
|
|
Amount of constant camera shake
|
|
|
|
public GameObject ImpactEffect
|
|
Effect to spawn on impact
|
|
|
|
public GameObject LargeImpactEffect
|
|
Effect to spawn on impact when the energt level is high enough
|
|
|
|
public float ImpactStrength
|
|
Amount of force to apply to objects that the projectile collides with
|
|
|
|
public float AoERadius
|
|
The area-of-effect radius to consider while traveling
|
|
|
|
public float ActivationDelay
|
|
How many seconds to wait until damaging AoE effects are activated. This exists to protect the wielder.
|
|
|
|
public LayerMask ImmobiltyFieldLayer
|
|
[SkipSerialisation]
|
|
No description provided
|
|
|
|
public float ImmobilityFieldSlowdown
|
|
[SkipSerialisation]
|
|
No description provided
|
|
|
|
Methods
|
|
public override float GetSpeedMultiplier()
|
|
No description provided
|
|
|
|
protected override void Update()
|
|
No description provided
|
|
|
|
public override bool ShouldReflect(RaycastHit2D hit)
|
|
No description provided
|
|
|
|
protected override void OnHit(RaycastHit2D hit)
|
|
No description provided |