Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetObjectEnabled(Object)

Is the object enabled (0 disabled, 1 enabled, -1 has no enabled button).
Read time 1 minuteLast updated 5 days ago

Definition

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

Parameters

target

Returns

Type

Description

int