Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

GizmoInfo.script

public Object script;

Description

The MonoBehaviour script asset corresponding to the component type represented by this GizmoInfo.

User-defined types are accessible through the script property, but built-in types (e.g., Transform) are not. Use name to identify built-in gizmo types.