WeaponControls Properties

HeroEditor

The following tables list the members exposed by the WeaponControls type.

Name Description
Public property animation Obsolete.

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

(inherited from Component).
Public property audio Obsolete.

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

(inherited from Component).
Public property camera Obsolete.

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

(inherited from Component).
Public property collider Obsolete.

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

(inherited from Component).
Public property collider2D Obsolete.

The Collider2D component attached to the object.

(inherited from Component).
Public property constantForce Obsolete.

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

(inherited from Component).
Public property enabled

Enabled Behaviours are Updated, disabled Behaviours are not.

(inherited from Behaviour).
Public property gameObject

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

(inherited from Component).
Public property guiElement Obsolete. (inherited from Component).
Public property guiText Obsolete.

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

(inherited from Component).
Public property guiTexture Obsolete.

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

(inherited from Component).
Public property hideFlags

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

(inherited from Object).
Public property hingeJoint Obsolete.

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

(inherited from Component).
Public property isActiveAndEnabled

Has the Behaviour had enabled called.

(inherited from Behaviour).
Public property light Obsolete.

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

(inherited from Component).
Public property name

The name of the object.

(inherited from Object).
Public property networkView Obsolete.

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

(inherited from Component).
Public property particleEmitter Obsolete.

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

(inherited from Component).
Public property particleSystem Obsolete.

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

(inherited from Component).
Public property renderer Obsolete.

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

(inherited from Component).
Public property rigidbody Obsolete.

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

(inherited from Component).
Public property rigidbody2D Obsolete.

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

(inherited from Component).
Public property runInEditMode

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

(inherited from MonoBehaviour).
Public property tag

The tag of this game object.

(inherited from Component).
Public property transform

The Transform attached to this GameObject.

(inherited from Component).
Public property useGUILayout

Disabling this lets you skip the GUI layout phase.

(inherited from MonoBehaviour).
Top