文档

Unity Engine

Download Unity

Unity Engine

SetObjectEnabled(Object, bool)

Set the enabled state of the object.
阅读时间1 分钟最后更新于 2 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetObjectEnabled(Object target, bool enabled)

Parameters

target


enabled