This version of Unity is unsupported.

ObjectChangeEventStream.Builder.ToStream

Declaration

public ObjectChangeEventStream ToStream(Unity.Collections.Allocator allocator);

Parameters

allocator The allocator to use for the new stream.

Returns

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

Description

Copies the data collected in this instance into a new ObjectChangeEventStream instance.

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