Click or drag to resize

WeatherMakerFallingParticleScript2D Class

Precipitation particle 2D script
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          DigitalRuby.WeatherMakerWeatherMakerFallingParticleScript
            DigitalRuby.WeatherMakerWeatherMakerFallingParticleScript2D

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class WeatherMakerFallingParticleScript2D : WeatherMakerFallingParticleScript

The WeatherMakerFallingParticleScript2D type exposes the following members.

Constructors
  NameDescription
Public methodWeatherMakerFallingParticleScript2D
Initializes a new instance of the WeatherMakerFallingParticleScript2D class
Top
Properties
  NameDescription
Public propertyanimation Obsolete.

The Animation attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyaudio Obsolete.

The AudioSource attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyAudioSourceCurrent
AudioSourceCurrent
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyAudioSourceHeavy
AudioSourceHeavy
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyAudioSourceLight
AudioSourceLight
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyAudioSourceMedium
AudioSourceMedium
(Inherited from WeatherMakerFallingParticleScript.)
Public propertycamera Obsolete.

The Camera attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertycollider Obsolete.

The Collider attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertycollider2D Obsolete.

The Collider2D component attached to the object.

(Inherited from Component.)
Public propertyCollisionEnabled
Whether collision is enabled
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyconstantForce Obsolete.

The ConstantForce attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyenabled

Enabled Behaviours are Updated, disabled Behaviours are not.

(Inherited from Behaviour.)
Public propertyExplosionMaterial
ExplosionMaterial
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyExplosionParticleSystemRenderer
ExplosionParticleSystemRenderer
(Inherited from WeatherMakerFallingParticleScript.)
Public propertygameObject

The game object this component is attached to. A component is always attached to a game object.

(Inherited from Component.)
Public propertyguiElement Obsolete. (Inherited from Component.)
Public propertyguiText Obsolete.

The GUIText attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyguiTexture Obsolete.

The GUITexture attached to this GameObject (Read Only). (null if there is none attached).

(Inherited from Component.)
Public propertyhideFlags

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

(Inherited from Object.)
Public propertyhingeJoint Obsolete.

The HingeJoint attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Protected propertyInitialStartSize
Start size
(Inherited from WeatherMakerFallingParticleScript.)
Protected propertyInitialStartSizeMist
Start size mist
(Inherited from WeatherMakerFallingParticleScript.)
Protected propertyInitialStartSizeSecondary
Start size secondary
(Inherited from WeatherMakerFallingParticleScript.)
Protected propertyInitialStartSpeed
Start speed
(Inherited from WeatherMakerFallingParticleScript.)
Protected propertyInitialStartSpeedMist
Start speed mist
(Inherited from WeatherMakerFallingParticleScript.)
Protected propertyInitialStartSpeedSecondary
Start speed secondary
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyisActiveAndEnabled

Has the Behaviour had enabled called.

(Inherited from Behaviour.)
Public propertylight Obsolete.

The Light attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyMaterial
Material
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyMaterialSecondary
MaterialSecondary
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyMistMaterial
MistMaterial
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyMistParticleSystemRenderer
MistParticleSystemRenderer
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyname

The name of the object.

(Inherited from Object.)
Public propertynetworkView Obsolete.

The NetworkView attached to this GameObject (Read Only). (null if there is none attached).

(Inherited from Component.)
Public propertyparticleEmitter Obsolete.

The ParticleEmitter attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyparticleSystem Obsolete.

The ParticleSystem attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyParticleSystemRenderer
ParticleSystemRenderer
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyParticleSystemSecondaryRenderer
ParticleSystemSecondaryRenderer
(Inherited from WeatherMakerFallingParticleScript.)
Public propertyrenderer Obsolete.

The Renderer attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyrigidbody Obsolete.

The Rigidbody attached to this GameObject. (Null if there is none attached).

(Inherited from Component.)
Public propertyrigidbody2D Obsolete.

The Rigidbody2D that is attached to the Component's GameObject.

(Inherited from Component.)
Public propertyrunInEditMode

Allow a specific instance of a MonoBehaviour to run in edit mode (only available in the editor).

(Inherited from MonoBehaviour.)
Public propertytag

The tag of this game object.

(Inherited from Component.)
Public propertytransform

The Transform attached to this GameObject.

(Inherited from Component.)
Public propertyuseGUILayout

Disabling this lets you skip the GUI layout phase.

(Inherited from MonoBehaviour.)
Top
Methods
  NameDescription
Protected methodAwake
Awake
(Inherited from WeatherMakerFallingParticleScript.)
Public methodBroadcastMessage(String)

Calls the method named methodName on every MonoBehaviour in this game object or any of its children.

(Inherited from Component.)
Public methodBroadcastMessage(String, Object)

Calls the method named methodName on every MonoBehaviour in this game object or any of its children.

(Inherited from Component.)
Public methodBroadcastMessage(String, SendMessageOptions)

Calls the method named methodName on every MonoBehaviour in this game object or any of its children.

(Inherited from Component.)
Public methodBroadcastMessage(String, Object, SendMessageOptions)

Calls the method named methodName on every MonoBehaviour in this game object or any of its children.

(Inherited from Component.)
Public methodCancelInvoke

Cancels all Invoke calls on this MonoBehaviour.

(Inherited from MonoBehaviour.)
Public methodCancelInvoke(String)

Cancels all Invoke calls with name methodName on this behaviour.

(Inherited from MonoBehaviour.)
Public methodCompareTag

Is this game object tagged with tag ?

(Inherited from Component.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodFixedUpdate
FixedUpdate
(Inherited from WeatherMakerFallingParticleScript.)
Public methodGetComponent(Type)

Returns the component of Type type if the game object has one attached, null if it doesn't.

(Inherited from Component.)
Public methodGetComponent(String)

Returns the component with name type if the game object has one attached, null if it doesn't.

(Inherited from Component.)
Public methodGetComponent``1 (Inherited from Component.)
Public methodGetComponentInChildren(Type)

Returns the component of Type type in the GameObject or any of its children using depth first search.

(Inherited from Component.)
Public methodGetComponentInChildren(Type, Boolean) (Inherited from Component.)
Public methodGetComponentInChildren``1 (Inherited from Component.)
Public methodGetComponentInChildren``1(Boolean) (Inherited from Component.)
Public methodGetComponentInParent(Type)

Returns the component of Type type in the GameObject or any of its parents.

(Inherited from Component.)
Public methodGetComponentInParent``1 (Inherited from Component.)
Public methodGetComponents(Type)

Returns all components of Type type in the GameObject.

(Inherited from Component.)
Public methodGetComponents(Type, ListComponent) (Inherited from Component.)
Public methodGetComponents``1 (Inherited from Component.)
Public methodGetComponents``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren(Type)

Returns all components of Type type in the GameObject or any of its children.

(Inherited from Component.)
Public methodGetComponentsInChildren(Type, Boolean)

Returns all components of Type type in the GameObject or any of its children.

(Inherited from Component.)
Public methodGetComponentsInChildren``1 (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetComponentsInParent(Type) (Inherited from Component.)
Public methodGetComponentsInParent(Type, Boolean)

Returns all components of Type type in the GameObject or any of its parents.

(Inherited from Component.)
Public methodGetComponentsInParent``1 (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID

Returns the instance id of the object.

(Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInvoke

Invokes the method methodName in time seconds.

(Inherited from MonoBehaviour.)
Public methodInvokeRepeating

Invokes the method methodName in time seconds, then repeatedly every repeatRate seconds.

(Inherited from MonoBehaviour.)
Public methodIsInvoking

Is any invoke pending on this MonoBehaviour?

(Inherited from MonoBehaviour.)
Public methodIsInvoking(String)

Is any invoke on methodName pending?

(Inherited from MonoBehaviour.)
Protected methodLateUpdate
LateUpdate
(Inherited from WeatherMakerFallingParticleScript.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnCameraPostRender
Camera post render event
(Inherited from WeatherMakerFallingParticleScript.)
Protected methodOnCameraPreCull
Camera pre cull event
(Overrides WeatherMakerFallingParticleScriptOnCameraPreCull(Camera).)
Protected methodOnCollisionEnabledChanged
Fires when collision enable changes
(Inherited from WeatherMakerFallingParticleScript.)
Protected methodOnDestroy
OnDestroy
(Inherited from WeatherMakerFallingParticleScript.)
Protected methodOnDisable
OnDisable
(Inherited from WeatherMakerFallingParticleScript.)
Protected methodOnEnable
OnEnable
(Inherited from WeatherMakerFallingParticleScript.)
Public methodSendMessage(String)

Calls the method named methodName on every MonoBehaviour in this game object.

(Inherited from Component.)
Public methodSendMessage(String, Object)

Calls the method named methodName on every MonoBehaviour in this game object.

(Inherited from Component.)
Public methodSendMessage(String, SendMessageOptions)

Calls the method named methodName on every MonoBehaviour in this game object.

(Inherited from Component.)
Public methodSendMessage(String, Object, SendMessageOptions)

Calls the method named methodName on every MonoBehaviour in this game object.

(Inherited from Component.)
Public methodSendMessageUpwards(String)

Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.

(Inherited from Component.)
Public methodSendMessageUpwards(String, Object)

Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.

(Inherited from Component.)
Public methodSendMessageUpwards(String, SendMessageOptions)

Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.

(Inherited from Component.)
Public methodSendMessageUpwards(String, Object, SendMessageOptions)

Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.

(Inherited from Component.)
Public methodSetParticleSystemsVisible
Show/hide particle systems
(Inherited from WeatherMakerFallingParticleScript.)
Public methodSetVolumeModifier
Set a new volume modifier
(Inherited from WeatherMakerFallingParticleScript.)
Protected methodStart
Start
(Inherited from WeatherMakerFallingParticleScript.)
Public methodStartCoroutine(IEnumerator)

Starts a coroutine.

(Inherited from MonoBehaviour.)
Public methodStartCoroutine(String)

Starts a coroutine named methodName.

(Inherited from MonoBehaviour.)
Public methodStartCoroutine(String, Object)

Starts a coroutine named methodName.

(Inherited from MonoBehaviour.)
Public methodStartCoroutine_Auto Obsolete. (Inherited from MonoBehaviour.)
Public methodStopAllCoroutines

Stops all coroutines running on this behaviour.

(Inherited from MonoBehaviour.)
Public methodStopCoroutine(String)

Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour.

(Inherited from MonoBehaviour.)
Public methodStopCoroutine(IEnumerator)

Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour.

(Inherited from MonoBehaviour.)
Public methodStopCoroutine(Coroutine)

Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour.

(Inherited from MonoBehaviour.)
Public methodToString

Returns the name of the GameObject.

(Inherited from Object.)
Protected methodUpdate
Update
(Inherited from WeatherMakerFallingParticleScript.)
Top
Fields
  NameDescription
Public fieldBaseEmissionRate
Base number of particles to emit per second. This is multiplied by intensity and intensity multiplier.
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldBaseEmissionRateSecondary
Base number of secondary particles to emit per second. This is multiplied by intensity and intensity multiplier.
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldBaseMistEmissionRate
Base number of mist particles to emit per second. This is multiplied by intensity and intensity multiplier.
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldCollisionLifeTime
Lifetime to assign to particles that have collided. 0 for instant death. This can allow the particles to penetrate a little bit beyond the collision point.
Public fieldCollisionMask
Collision mask for the particles
Public fieldDitherLevel
Particle dithering factor
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldExplosionEmissionLifeTimeMaximum
When a particles life time is less than or equal to this value, it may emit an explosion
Public fieldExplosionParticleSystem
Particles system for when particles hit something
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldExternalIntensityMultiplier
External intensity modifier, for example if the player goes in a cave, this could be reduced to slow or stop particles.
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldHeightMultiplier
The starting y offset for particles and mist. This will be offset as a percentage of visible height from the top of the visible world.
Public fieldIntensity
Overall intensity of the system (0-1)
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldIntensityMultiplier
Intensity multiplier for fewer or extra particles
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldLoopSourceHeavy
Heavy particle looping audio source
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldLoopSourceLight
Light particle looping audio source
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldLoopSourceMedium
Medium particle looping audio source
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldMistCollisionLifeTimeMultiplier
Multiply the life time of any mist colliding by this amount
Public fieldMistCollisionVelocityMultiplier
Multiply the velocity of any mist colliding by this amount
Public fieldMistIntensityMultiplier
Intensity multiplier for fewer or extra mist particles
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldMistParticleSystem
Particle system to use for mist
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldMistThreshold
The threshold that Intensity must pass for mist particles to appear (0 - 1). Set to 1 for no mist. Set this before changing Intensity.
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldParticleSystem
Particle system
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldParticleSystemSecondary
Particle system that is secondary and optional
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldPrecipitationMistTintColor
Precipitation mist tint color
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldPrecipitationSecondaryTintColor
Precipitation secondary tint color
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldPrecipitationTintColor
Precipitation tint color
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldSecondaryIntensityMultiplier
Intensity multiplier for fewer or extra secondary particles
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldSecondaryThreshold
The threshold that Intensity must pass for secondary particles to appear (0 - 1). Set to 1 for no secondary particles. Set this before changing Intensity.
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldSoundHeavyIntensityThreshold
Intensity threshold for heavy loop sound
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldSoundMediumIntensityThreshold
Intensity threshold for medium looping sound
(Inherited from WeatherMakerFallingParticleScript.)
Public fieldWidthMultiplier
The total width of the particles and mist as a percentage of visible width
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