ドキュメント

Unity Engine

Unity Engine

Clone(Allocator)

Creates a copy of this stream with the specified allocator.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

allocator

The allocator to use to allocate the memory for the copy.

Returns

Type

Description

ObjectChangeEventStreamA copy of the stream that contains the same events, but in a separate memory lcoation.

Remarks

Depending on the allocator used, the resulting copy needs to be manually disposed by the caller.