GetAssetObject

GetAssetObject(string, Object)

public Object GetAssetObject(string name, Object defaultValue) ;

Description

Get the value of the AssetObject type.

Parameters

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

Returns

The true when there parameters of the specified name.

GetAssetObject(int, Object)

public Object GetAssetObject(int id, Object defaultValue) ;

Description

Get the value of the AssetObject type.

Parameters

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

Returns

The true when there parameters of the specified name.

GetAssetObject<TAssetObject>(string, TAssetObject)

public TAssetObject GetAssetObject<TAssetObject>(string name, TAssetObject defaultValue) ;

Description

Get the value of the AssetObject type.

Type Parameters

Type Parameter Name Description Type Constraints
TAssetObject Type of AssetObject to get

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.

GetAssetObject<TAssetObject>(int, TAssetObject)

public TAssetObject GetAssetObject<TAssetObject>(int id, TAssetObject defaultValue) ;

Description

Get the value of the AssetObject type.

Type Parameters

Type Parameter Name Description Type Constraints
TAssetObject Type of AssetObject to get

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.