Clone(Allocator)
Creates a copy of this stream with the specified allocator.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public ObjectChangeEventStream Clone(Allocator allocator)
Parameters
The allocator to use to allocate the memory for the copy.
Returns
Type | Description |
|---|---|
| ObjectChangeEventStream | A 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.