Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToStream(Allocator)

Copies the data collected in this instance into a new ObjectChangeEventStream instance.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public ObjectChangeEventStream ToStream(Allocator allocator)

Parameters

allocator

The allocator to use for the new stream.

Returns

Type

Description

ObjectChangeEventStreamA new stream that contains all events recorded in this instance at the time of the function call.

Remarks

Calling this method does not affect the internal state of this instance. You can construct multiple independent streams from one builder.