ES2Web.UploadImage

public IEnumerator UploadImage(Texture2D image)

Parameters

image The Texture2D to upload.

Returns

IEnumerator The IEnumerator for the coroutine.

Description

Uploads an image, stored as a PNG.

C#

Uploads the renderer’s main Texture to the database

JS

Uploads the renderer’s main Texture to the database