LightningBoltPathScript Properties |
The LightningBoltPathScript type exposes the following members.
Name | Description | |
---|---|---|
animation | Obsolete. The Animation attached to this GameObject. (Null if there is none attached). | |
audio | Obsolete. The AudioSource attached to this GameObject. (Null if there is none attached). | |
camera | Obsolete. The Camera attached to this GameObject. (Null if there is none attached). | |
collider | Obsolete. The Collider attached to this GameObject. (Null if there is none attached). | |
collider2D | Obsolete. The Collider2D component attached to the object. | |
constantForce | Obsolete. The ConstantForce attached to this GameObject. (Null if there is none attached). | |
enabled | Enabled Behaviours are Updated, disabled Behaviours are not. | |
gameObject | The game object this component is attached to. A component is always attached to a game object. | |
guiElement | Obsolete. (Inherited from Component.) | |
guiText | Obsolete. The GUIText attached to this GameObject. (Null if there is none attached). | |
guiTexture | Obsolete. The GUITexture attached to this GameObject (Read Only). (null if there is none attached). | |
HasActiveBolts |
Whether the script has active lightning bolts
(Inherited from LightningBoltScript.) | |
hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? | |
hingeJoint | Obsolete. The HingeJoint attached to this GameObject. (Null if there is none attached). | |
isActiveAndEnabled | Has the Behaviour had enabled called. | |
light | Obsolete. The Light attached to this GameObject. (Null if there is none attached). | |
LightAddedCallback |
Fires when a light is added
(Inherited from LightningBoltScript.) | |
LightningEndedCallback |
Fires when lightning bolt is ended (trunk width, start, end)
(Inherited from LightningBoltScript.) | |
LightningStartedCallback |
Fires when lightning bolt is created (trunk width, start, end)
(Inherited from LightningBoltScript.) | |
LightRemovedCallback |
Fires when a light is removed
(Inherited from LightningBoltScript.) | |
name | The name of the object. | |
networkView | Obsolete. The NetworkView attached to this GameObject (Read Only). (null if there is none attached). | |
particleEmitter | Obsolete. The ParticleEmitter attached to this GameObject. (Null if there is none attached). | |
particleSystem | Obsolete. The ParticleSystem attached to this GameObject. (Null if there is none attached). | |
RandomOverride |
Override the random generator for the bolts
(Inherited from LightningBoltPrefabScriptBase.) | |
renderer | Obsolete. The Renderer attached to this GameObject. (Null if there is none attached). | |
rigidbody | Obsolete. The Rigidbody attached to this GameObject. (Null if there is none attached). | |
rigidbody2D | Obsolete. The Rigidbody2D that is attached to the Component's GameObject. | |
runInEditMode | Allow a specific instance of a MonoBehaviour to run in edit mode (only available in the editor). | |
tag | The tag of this game object. | |
transform | The Transform attached to this GameObject. | |
useGUILayout | Disabling this lets you skip the GUI layout phase. |