ドキュメント

Unity Engine

Unity Engine

ToStream(Allocator)

Copies the data collected in this instance into a new ObjectChangeEventStream instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.