文档

Unity Engine

Unity Engine

FindObjectsSortMode

Options to specify if and how to sort objects returned by a function.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Deprecated. FindObjectsSortMode has been deprecated. Use the FindObjectsByType overloads that do not take a FindObjectsSortMode parameter.
public enum FindObjectsSortMode

Fields

Value

Description

InstanceIDSort the objects by InstanceID in ascending order.
NoneDon't sort the objects.