update

fun update(id: String, transform: Transform): Boolean

Updates an instance in the resource.

Return

Whether the instance is updated successfully.

Parameters

id

The ID of the instance to update.

transform

The transform of the instance to update.