Click or drag to resize

NamedGameObjectPoolManagerTryGetName Method

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

Gets the name that is currently assigned to the specified GameObject.

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 TryGetName(
	GameObject gameObject,
	out string name
)

Parameters

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

Return Value

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