Version: 2023.1
public Object script ;

描述

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.