Method LoadImage
LoadImage(string)
Loads the image.
Declaration
public static Texture2D LoadImage(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | The image file name. |
Returns
Type | Description |
---|---|
Texture2D | Texture2D from file name. |