Documentation

Unity Engine

Unity Engine

CompareTo(ComponentType)

Returns the sort order this component type compared to another
Read time 1 minuteLast updated 4 days ago

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