ToStream(Allocator)
Copies the data collected in this instance into a new ObjectChangeEventStream instance.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public ObjectChangeEventStream ToStream(Allocator allocator)
Parameters
The allocator to use for the new stream.
Returns
Type | Description |
|---|---|
| ObjectChangeEventStream | A 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.