기술 자료

Unity Engine

Unity Engine

ToStream(Allocator)

Copies the data collected in this instance into a new ObjectChangeEventStream instance.
읽는 시간 1분최근 업데이트: 한 달 전

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.