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.


Did you find this page useful? Please give it a rating: