ES2.Load

public static T Load<T>(string path, ES2Settings settings=null)

Parameters

T The type of the data we want to load. Must be on the Supported Types list.

path

The path where our data is stored. For more information, see Paths.

settings

Optional. A user-created ES2Settings object containing options not specified in path.

Returns

T Our loaded data

Description

Loads the data of type T from the specified path.

C#

JS


public static T Load(string path, T component, ES2Settings settings=null)

Parameters

path The path where our data is stored. For more information, see Paths.

component

The Component we want to assign our loaded data to.

settings

Optional. A user-created ES2Settings object containing options not specified in path.

Description

Self-Assigning Load. Loads the Component of type T from the specified path and automatically assigns it to our Component.

C#

JS