文档

Unity Engine

Unity Engine

EntityChanges

Contains all the changes needed to convert and revert a world from one state to another.
阅读时间1 分钟最后更新于 19 天前

Definition

public readonly struct EntityChanges : IDisposable

Remarks

Changes that convert a world from one state to another are called forward changes. Changes that revert the world from one state to another are called reverse changes. EntityChanges store the changes in unmanaged memory. Call EntityChanges.Dispose to free the used memory

Constructors

Properties

Property

Description

AnyChangesChecks if there is any forward or reverse change
ForwardChangeSetAccess to the forward change set
HasForwardChangeSetChecks if there is any forward change
HasReverseChangeSetChecks if there is any reverse change
ReverseChangeSetAccess to the reverse change set

Methods

Method

Description

DisposeDisposes the memory used by the change sets