WeaponControls Methods

HeroEditor

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

Name Description
Public method BroadcastMessage(String, Object)

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

(inherited from Component).
Public method BroadcastMessage(String)

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

(inherited from Component).
Public method BroadcastMessage(String, SendMessageOptions)

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

(inherited from Component).
Public method BroadcastMessage(String, Object, SendMessageOptions)

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

(inherited from Component).
Public method CancelInvoke

Cancels all Invoke calls on this MonoBehaviour.

(inherited from MonoBehaviour).
Public method CancelInvoke(String)

Cancels all Invoke calls with name methodName on this behaviour.

(inherited from MonoBehaviour).
Public method CompareTag(String)

Is this game object tagged with tag ?

(inherited from Component).
Public method Equals(Object) (inherited from Object).
Public method GetComponent<T> (inherited from Component).
Public method GetComponent(String)

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

(inherited from Component).
Public method GetComponent(Type)

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

(inherited from Component).
Public method GetComponentInChildren(Type)

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

(inherited from Component).
Public method GetComponentInChildren<T> (inherited from Component).
Public method GetComponentInChildren<T>(Boolean) (inherited from Component).
Public method GetComponentInChildren(Type, Boolean) (inherited from Component).
Public method GetComponentInParent(Type)

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

(inherited from Component).
Public method GetComponentInParent<T> (inherited from Component).
Public method GetComponents<T>(List<T>) (inherited from Component).
Public method GetComponents(Type, List<Component>) (inherited from Component).
Public method GetComponents(Type)

Returns all components of Type type in the GameObject.

(inherited from Component).
Public method GetComponents<T> (inherited from Component).
Public method GetComponentsInChildren(Type, Boolean)

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

(inherited from Component).
Public method GetComponentsInChildren<T>(Boolean) (inherited from Component).
Public method GetComponentsInChildren<T>(Boolean, List<T>) (inherited from Component).
Public method GetComponentsInChildren<T>(List<T>) (inherited from Component).
Public method GetComponentsInChildren<T> (inherited from Component).
Public method GetComponentsInChildren(Type)

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

(inherited from Component).
Public method GetComponentsInParent<T> (inherited from Component).
Public method GetComponentsInParent<T>(Boolean) (inherited from Component).
Public method GetComponentsInParent(Type, Boolean)

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

(inherited from Component).
Public method GetComponentsInParent(Type) (inherited from Component).
Public method GetComponentsInParent<T>(Boolean, List<T>) (inherited from Component).
Public method GetHashCode (inherited from Object).
Public method GetInstanceID

Returns the instance id of the object.

(inherited from Object).
Public method GetType (inherited from Object).
Public method Invoke(String, Single)

Invokes the method methodName in time seconds.

(inherited from MonoBehaviour).
Public method InvokeRepeating(String, Single, Single)

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

(inherited from MonoBehaviour).
Public method IsInvoking(String)

Is any invoke on methodName pending?

(inherited from MonoBehaviour).
Public method IsInvoking

Is any invoke pending on this MonoBehaviour?

(inherited from MonoBehaviour).
Public method LateUpdate() Called each frame update, weapon to mouse rotation example.
Public method RotateArm(Transform, Transform, Vector2, float, float) Selected arm to position (world space) rotation, with limits.
Public method SendMessage(String, Object)

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

(inherited from Component).
Public method SendMessage(String)

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

(inherited from Component).
Public method SendMessage(String, SendMessageOptions)

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

(inherited from Component).
Public method SendMessage(String, Object, SendMessageOptions)

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

(inherited from Component).
Public method SendMessageUpwards(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 method SendMessageUpwards(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 method SendMessageUpwards(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 method SendMessageUpwards(String)

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

(inherited from Component).
Public method StartCoroutine(IEnumerator)

Starts a coroutine.

(inherited from MonoBehaviour).
Public method StartCoroutine(String, Object)

Starts a coroutine named methodName.

(inherited from MonoBehaviour).
Public method StartCoroutine(String)

Starts a coroutine named methodName.

(inherited from MonoBehaviour).
Public method StartCoroutine_Auto(IEnumerator) Obsolete. (inherited from MonoBehaviour).
Public method StopAllCoroutines

Stops all coroutines running on this behaviour.

(inherited from MonoBehaviour).
Public method StopCoroutine(IEnumerator)

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

(inherited from MonoBehaviour).
Public method StopCoroutine(String)

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

(inherited from MonoBehaviour).
Public method StopCoroutine(Coroutine)

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

(inherited from MonoBehaviour).
Public method ToString

Returns the name of the game object.

(inherited from Object).
Public method Update()
Top