C# Class UnityEditor.DrawGizmo

The DrawGizmo attribute allows you to supply a gizmo renderer for any Component.

Inheritance: System.Attribute
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
drawOptions GizmoType
drawnType System.Type

Méthodes publiques

Méthode Description
DrawGizmo ( GizmoType gizmo ) : System

Defines when the gizmo should be invoked for drawing.

DrawGizmo ( GizmoType gizmo, Type drawnGizmoType ) : System

Same as above. drawnGizmoType determines of what type the object we are drawing the gizmo of has to be.

Method Details

DrawGizmo() public méthode

Defines when the gizmo should be invoked for drawing.

public DrawGizmo ( GizmoType gizmo ) : System
gizmo GizmoType Flags to denote when the gizmo should be drawn.
Résultat System

DrawGizmo() public méthode

Same as above. drawnGizmoType determines of what type the object we are drawing the gizmo of has to be.

public DrawGizmo ( GizmoType gizmo, Type drawnGizmoType ) : System
gizmo GizmoType Flags to denote when the gizmo should be drawn.
drawnGizmoType System.Type Type of object for which the gizmo should be drawn.
Résultat System

Property Details

drawOptions public_oe property

public GizmoType drawOptions
Résultat GizmoType

drawnType public_oe property

public Type,System drawnType
Résultat System.Type