TryGetGameObject

TryGetGameObject(string, out GameObject)

public bool TryGetGameObject(string name, out GameObject value) ;

Description

Get the value of the GameObject type.

Parameters

Parameter Name Description
name Name.
value The value you get.

Returns

The true when there parameters of the specified name.

TryGetGameObject(int, out GameObject)

public bool TryGetGameObject(int id, out GameObject value) ;

Description

Get the value of the GameObject type.

Parameters

Parameter Name Description
id ID.
value The value you get.

Returns

The true when there parameters of the specified name.