Click or drag to resize

NamedGameObjectPoolManagerTryGetGameObject Method

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

Gets the GameObject that is currently assigned the specified name.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public bool TryGetGameObject(
	string name,
	out GameObject gameObject
)

Parameters

name
Type: SystemString
The name that is currently assigned to a GameObject.
gameObject
Type: UnityEngineGameObject
When this method returns, contains the GameObject that is currently assigned the specified name, if one exists; otherwise, . This parameter is passed uninitialised.

Return Value

Type: Boolean
if a GameObject with the specified name was found; otherwise, .
See Also