ES2Web.Upload

public IEnumerator Upload(T data)

Parameters

data The data to upload. Must be on the Supported Types list.

Returns

IEnumerator The IEnumerator for the coroutine.

Description

Uploads our data to the URL specified when creating the ES2Web object.

C#

A coroutine to Upload a Mesh to the server with a given tag

JS

A coroutine to Upload a Mesh to the server with a given tag