GetTransform

GetTransform(string, Transform)

public Transform GetTransform(string name, Transform defaultValue) ;

Description

Get the value of the Transform type.

Parameters

Parameter Name Description
name Name.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetTransform(int, Transform)

public Transform GetTransform(int id, Transform defaultValue) ;

Description

Get the value of the Transform type.

Parameters

Parameter Name Description
id ID.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetTransform(string, out Transform)

Obsolete public bool GetTransform(string name, out Transform value) ;

Description

Get the value of the Transform type.

Parameters

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

Returns

The true when there parameters of the specified name.

GetTransform(int, out Transform)

Obsolete public bool GetTransform(int id, out Transform value) ;

Description

Get the value of the Transform type.

Parameters

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

Returns

The true when there parameters of the specified name.