GetRectTransform

GetRectTransform(string, RectTransform)

public RectTransform GetRectTransform(string name, RectTransform defaultValue) ;

Description

Get the value of the RectTransform 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.

GetRectTransform(int, RectTransform)

public RectTransform GetRectTransform(int id, RectTransform defaultValue) ;

Description

Get the value of the RectTransform 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.

GetRectTransform(string, out RectTransform)

Obsolete public bool GetRectTransform(string name, out RectTransform value) ;

Description

Get the value of the RectTransform type.

Parameters

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

Returns

The true when there parameters of the specified name.

GetRectTransform(int, out RectTransform)

Obsolete public bool GetRectTransform(int id, out RectTransform value) ;

Description

Get the value of the RectTransform type.

Parameters

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

Returns

The true when there parameters of the specified name.