文档

Unity Engine

Download Unity

Unity Engine

CompareTo(ComponentType)

Returns the sort order this component type compared to another
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public int CompareTo(ComponentType other)

Parameters

The other component type

Returns

Type

Description

intThe sort order