Click or drag to resize

GLMonoBehaviour Methods

The GLMonoBehaviour type exposes the following members.

Methods
  NameDescription
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 methodStatic memberDestroyUniversal
Destroys given object using either Object.Destroy, or Object.DestroyImmediate, depending on whether Application.isPlaying is true or not. This is useful when writing methods that is used by both editor tools and the game itself.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberFindObjectsOfInterfaceI
Similar to FindObjectsOfType, except that it looks for components that implement a specific interface.
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 methodStatic memberInstantiate(GameObject)
Instantiates a prefab.
Public methodStatic memberInstantiate(GameObject, GameObject)
Instantiates a prefab and parents it to the root.
Public methodStatic memberInstantiate(GameObject, Vector3, Quaternion)
Instantiates the specified prefab.
Public methodStatic memberInstantiate(GameObject, GameObject, Vector3, Quaternion)
Instantiates a prefab, attaches it to the given root, and sets the local position and rotation.
Public methodStatic memberInstantiateT(T, GameObject)
Instantiates a prefab and attaches it to the given root.
Public methodStatic memberInstantiateT(T, GameObject, Vector3, Quaternion)
Instantiates a prefab, attaches it to the given root, and sets the local position and rotation.
Public methodInvoke(String, Single)

Invokes the method methodName in time seconds.

(Inherited from MonoBehaviour.)
Public methodInvoke(Action, Single)
Public methodInvokeRepeating(Action, IGeneratorSingle)
Public methodInvokeRepeating(String, Single, Single)

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

(Inherited from MonoBehaviour.)
Public methodInvokeRepeating(Action, Single, Single)
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 methodMemberwiseClone (Inherited from Object.)
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 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) (Inherited from MonoBehaviour.)
Public methodToString

Returns the name of the game object.

(Inherited from Object.)
Public methodTweenT(T, T, Single, FuncT, T, Single, T, ActionT)
Public methodTweenT(T, T, Single, FuncT, T, Single, T, ActionT, FuncSingle)
Top
Extension Methods
  NameDescription
Public Extension MethodCancelInvoke
Cancels the action if it was scheduled.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodFindChild(String)Overloaded. (Defined by MonoBehaviourExtensions.)
Public Extension MethodFindChild(String, Boolean)Overloaded. (Defined by MonoBehaviourExtensions.)
Public Extension MethodGetComponentInChildrenAlwaysT
Finds a component of the type T in on the same object, or on a child down the hierarchy. This method also works in the editor and when the game object is inactive.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodGetComponentsInChildrenAlwaysT
Finds all components of the type T on the same object and on a children down the hierarchy. This method also works in the editor and when the game object is inactive.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodGetInterfaceComponentTInterface
Gets an attached component that implements the interface of the type parameter.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodGetRequiredComponentT
Gets a component of the given type, or fail if no such component is attached to the given component.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodGetRequiredComponentInChildrenT (Defined by MonoBehaviourExtensions.)
Public Extension MethodInvoke
Invokes the given action after the given amount of time.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodInvokeRepeating(Action, IGeneratorSingle)Overloaded.
Invokes the given action after the given amount of time, and repeats the action after every repeatTime seconds.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodInvokeRepeating(Action, Single, Single)Overloaded.
Invokes the given action after the given amount of time, and repeats the action after every repeatTime seconds.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodIsInvoking
Returns whether an invoke is pending on an action.
(Defined by MonoBehaviourExtensions.)
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Public Extension MethodTweenT(T, T, Single, FuncT, T, Single, T, ActionT)Overloaded. (Defined by MonoBehaviourExtensions.)
Public Extension MethodTweenT(T, T, Single, FuncT, T, Single, T, ActionT, FuncSingle)Overloaded. (Defined by MonoBehaviourExtensions.)
Top
See Also