Click or drag to resize

LightningGeneratorOnGenerateLightningBolt Method

Fires when a lightning bolt needs to be generated

Namespace:  DigitalRuby.ThunderAndLightning
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
protected virtual void OnGenerateLightningBolt(
	LightningBolt bolt,
	Vector3 start,
	Vector3 end,
	LightningBoltParameters parameters
)

Parameters

bolt
Type: DigitalRuby.ThunderAndLightningLightningBolt
Lightning bolt
start
Type: Vector3
Start position
end
Type: Vector3
End position
parameters
Type: DigitalRuby.ThunderAndLightningLightningBoltParameters
Parameters
See Also