文档

Unity Engine

Download Unity

Unity Engine

DidChange(uint, uint)

Test whether two version numbers indicate that a change has occurred.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static bool DidChange(uint changeVersion, uint requiredVersion)

Parameters

changeVersion

The newer/current version number

requiredVersion

The previous version number.

Returns

Type

Description

boolTrue if
changeVersion
is greater than
requiredVersion
, or if
requiredVersion
is zero.