Click or drag to resize

ShieldTSource, TArgs Properties

The ShieldTSource, TArgs generic type exposes the following members.

Properties
  NameDescription
Public propertyAbsorptionFlat
Gets or sets the flat amount of removed resource that should be absorbed by the shield.
Public propertyAbsorptionScaling
Gets or sets the fraction of removed resource that should be absorbed by the shield.
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 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 propertyconstantForce Obsolete.

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

(Inherited from Component.)
Public propertyCurrent
Gets the current amount of resource in this pool.
(Inherited from ResourcePoolTSource, TArgs.)
Public propertyDefaultArgs
Gets the args to fallback on if no args is specified.
(Inherited from ResourcePoolTSource, TArgs.)
Public propertyDefaultSource
Gets the source to fallback on if no source is specified.
(Inherited from ResourcePoolTSource, TArgs.)
Public propertyEmptiesWithTarget
Gets or sets whether the shield should get fully drained when the target is empty.
Public propertyEmptyTillRenewed
Gets or sets whether adding resource should be disabled after the pool is completely empty, until it is renewed using Renew(TSource, TArgs, Boolean) again.
(Inherited from ResourcePoolTSource, TArgs.)
Public propertyenabled

Enabled Behaviours are Updated, disabled Behaviours are not.

(Inherited from Behaviour.)
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.)
Public propertyisActiveAndEnabled

Has the Behaviour had enabled called.

(Inherited from Behaviour.)
Public propertyIsEmpty
Gets whether the pool is completely empty.
(Inherited from ResourcePoolTSource, TArgs.)
Public propertyIsFull
Gets whether the pool is completely empty.
(Inherited from ResourcePoolTSource, TArgs.)
Public propertylight Obsolete.

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

(Inherited from Component.)
Public propertyMax
Gets or sets the maximum amount of source that can be in this pool.
(Inherited from ResourcePoolTSource, TArgs.)
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 propertyPercentage
Gets a how full the resource is percentage-wise (0 to 1)
(Inherited from ResourcePoolTSource, TArgs.)
Public propertyProtectedTarget
Gets or sets the target that this shield should protect.
Public propertyrenderer Obsolete.

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

(Inherited from Component.)
Public propertyRenewsWithTarget
Gets or sets whether the shield should renew when the target does.
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 propertyTimeSinceEmpty
Get the (scaled) time since this pool was last empty.
(Inherited from ResourcePoolTSource, TArgs.)
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
See Also