GetRectInt

GetRectInt(string, RectInt)

public RectInt GetRectInt(string name, RectInt defaultValue) ;

Description

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

GetRectInt(string)

public RectInt GetRectInt(string name) ;

Description

Get the value of the RectInt type.

Parameters

Parameter Name Description
name Name.

Returns

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

GetRectInt(int, RectInt)

public RectInt GetRectInt(int id, RectInt defaultValue) ;

Description

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

GetRectInt(int)

public RectInt GetRectInt(int id) ;

Description

Get the value of the RectInt type.

Parameters

Parameter Name Description
id ID.

Returns

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