Click or drag to resize

WeatherMakerLightningProfileScript Class

Lightning profile script, contains all properties that change lightning appearance
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      DigitalRuby.WeatherMakerWeatherMakerBaseScriptableObjectScript
        DigitalRuby.WeatherMakerWeatherMakerLightningProfileScript

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
[SerializableAttribute]
public class WeatherMakerLightningProfileScript : WeatherMakerBaseScriptableObjectScript

The WeatherMakerLightningProfileScript type exposes the following members.

Constructors
  NameDescription
Public methodWeatherMakerLightningProfileScript
Initializes a new instance of the WeatherMakerLightningProfileScript class
Top
Properties
  NameDescription
Public propertyhideFlags

Should the object be hidden, saved with the scene or modifiable by the user?

(Inherited from Object.)
Public propertyname

The name of the object.

(Inherited from Object.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID

Returns the instance id of the object.

(Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInitialize
Initialize
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnDestroy
OnDestroy
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public methodOnDisable
OnDisable
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public methodOnEnable
OnEnable
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public methodSetDirty Obsolete. (Inherited from ScriptableObject.)
Public methodToString

Returns the name of the GameObject.

(Inherited from Object.)
Public methodUpdate
Update
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Top
Fields
  NameDescription
Public fieldDisabled
Whether this object is disabled
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public fieldLightningCloudChance
The chance lightning will simply be in the clouds with no visible bolt.
Public fieldLightningForcedVisibilityProbability
Probability that lightning strikes will be forced to be visible in the camera view. Even if this fails, there is still a change that the lightning will be visible. Ignored for some modes such as 2D.
Public fieldLightningGroundChance
The chance that non-cloud lightning will hit the ground.
Public fieldLightningIntenseProbability
Probability lightning will be intense (close up and loud).
Public fieldLightningIntervalTimeRange
The random range of seconds in between lightning strikes.
Top
Extension Methods
  NameDescription
Public Extension MethodCachedName
Get cached name
(Defined by WeatherMakerObjectExtensions.)
Public Extension MethodSetCachedName
Put name in the cache
(Defined by WeatherMakerObjectExtensions.)
Top
See Also