文档

Unity Engine

Unity Engine

GetObjectEnabled(Object)

Is the object enabled (0 disabled, 1 enabled, -1 has no enabled button).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static int GetObjectEnabled(Object target)

Parameters

target

Returns

Type

Description

int