ES2.LoadImage

public static Texture2D LoadImage(string path)

Parameters

path The absolute path of the JPG or PNG file we wish to load.

Returns

Texture2D Our loaded audio as a Texture2D."

Description

Loads a JPG or PNG image as a Texture2D.

See Texture2D.LoadImage for more details.

C#

JS