![]() |
Kerbal Space Program
1.12.4
|
Public Member Functions | |
| override void | Explode () |
| override void | Init () |
| void | Reset () |
Public Member Functions inherited from DetonatorComponent | |
| Detonator | MyDetonator () |
| void | SetStartValues () |
Public Attributes | |
| float | distanceThreshold = 50f |
| AudioClip[] | farSounds |
| float | maxVolume = 1f |
| float | minVolume = .4f |
| AudioClip[] | nearSounds |
| float | rolloffFactor = 0.5f |
Public Attributes inherited from DetonatorComponent | |
| Color | color = Color.white |
| float | detail = 1f |
| float | detailThreshold |
| bool | detonatorControlled = true |
| float | duration = 2f |
| float | explodeDelayMax = 0f |
| float | explodeDelayMin = 0f |
| Vector3 | force = Vector3.zero |
| Vector3 | localPosition = Vector3.zero |
| bool | on = true |
| float | size = 1f |
| Color | startColor = Color.white |
| float | startDetail = 1f |
| float | startDuration = 2f |
| Vector3 | startForce = Vector3.zero |
| Vector3 | startLocalPosition = Vector3.zero |
| float | startSize = 1f |
| Vector3 | startVelocity = Vector3.zero |
| float | timeScale = 1f |
| Vector3 | velocity = Vector3.zero |
Static Public Attributes | |
| static System.Func< float > | GetSoundVolume = () => { return 1f; } |
|
inlinevirtual |
Implements DetonatorComponent.
|
inlinevirtual |
Implements DetonatorComponent.
|
inline |
| float DetonatorSound.distanceThreshold = 50f |
| AudioClip [] DetonatorSound.farSounds |
|
static |
| float DetonatorSound.maxVolume = 1f |
| float DetonatorSound.minVolume = .4f |
| AudioClip [] DetonatorSound.nearSounds |
| float DetonatorSound.rolloffFactor = 0.5f |
1.8.7