PlayerManager Methods

[This is preliminary documentation and is subject to change.]

The PlayerManager type exposes the following members.

Methods

Name

Description

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, 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, 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

Is this game object tagged with tag ?

(Inherited from Component.)

Public method

Equals

(Inherited from Object.)

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

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``1()

(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(Type, Boolean)

(Inherited from Component.)

Public method

GetComponentInChildren1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentInChildren1(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``1()

(Inherited from Component.)

Public method

GetComponents(Type)

Returns all components of Type type in the GameObject.

(Inherited from Component.)

Public method

GetComponents(Type, List(Component))

(Inherited from Component.)

Public method

GetComponents1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponents1(List(UMP))

(Inherited from Component.)

Public method

GetComponentsInChildren(Type)

(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

GetComponentsInChildren1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentsInChildren1(Boolean)

(Inherited from Component.)

Public method

GetComponentsInChildren1(List(UMP))</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentsInChildren1(Boolean, List(UMP))

(Inherited from Component.)

Public method

GetComponentsInParent(Type)

(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

GetComponentsInParent1()</td><td> (Inherited from Component.)</td></tr><tr><td>![Public method](media/pubmethod.gif "Public method")</td><td>GetComponentsInParent1(Boolean)

(Inherited from Component.)

Public method

GetComponentsInParent``1(Boolean, List(UMP))

(Inherited from Component.)

Public method

GetHashCode

(Inherited from Object.)

Public method

GetInstanceID

Returns the instance id of the object.

(Inherited from Object.)

Public method

GetPlayer

Public method

Invoke

Invokes the method methodName in time seconds.

(Inherited from MonoBehaviour.)

Public method

InvokeRepeating

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

(Inherited from MonoBehaviour.)

Public method

IsInvoking()

Is any invoke pending on this MonoBehaviour?

(Inherited from MonoBehaviour.)

Public method

IsInvoking(String)

Is any invoke on methodName pending?

(Inherited from MonoBehaviour.)

Public method

RegisterPlayer

Public method

SendMessage(String)

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

(Inherited from Component.)

Public method

SendMessage(String, Object)

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)

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, 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, 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

StartCoroutine(String)

Starts a coroutine named methodName.

(Inherited from MonoBehaviour.)

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_Auto

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(Coroutine)

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

ToString

Returns the name of the GameObject.

(Inherited from Object.)

  Back to Top

See Also

Reference

PlayerManager ClassGame Namespace