feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/PowerHammerBehaviour.html
|
||||
Title: People Playground Modding - PowerHammerBehaviour
|
||||
==================================================
|
||||
|
||||
public class PowerHammerBehaviour
|
||||
Inherits MonoBehaviour
|
||||
Controls the Power Hammer
|
||||
Fields
|
||||
public AudioClip[] ImpactClips
|
||||
[SkipSerialisation]
|
||||
Audio played on impact
|
||||
|
||||
public float ForceMultiplier
|
||||
[SkipSerialisation]
|
||||
Effect force multiplier
|
||||
|
||||
public float Range
|
||||
[SkipSerialisation]
|
||||
Range of the effect force in units
|
||||
|
||||
public float CameraShakeIntensity
|
||||
[SkipSerialisation]
|
||||
Intensity of the camera shake
|
||||
|
||||
public float RequiredImpactForce
|
||||
[SkipSerialisation]
|
||||
Amount of physical impact force required to initiate the force effect
|
||||
|
||||
public LayerMask LayersToConsider
|
||||
[SkipSerialisation]
|
||||
What layers to consider when affecting objects
|
||||
|
||||
public float ImpactCharge
|
||||
[SkipSerialisation]
|
||||
How electricity to add to affected objects
|
||||
|
||||
public GameObject HammerEffectPrefab
|
||||
[SkipSerialisation]
|
||||
Amount of physical impact force required to initiate the force effect
|
||||
Reference in New Issue
Block a user