文档

Unity Engine

Unity Engine

DrawHandle

A function to display this instance in the current handle camera using its current configuration.
阅读时间1 分钟最后更新于 1 个月前

Definition

DrawHandle()

A function to display this instance in the current handle camera using its current configuration.
public void DrawHandle()

Remarks

Always write properties to the handle before calling this function. Place the calls to this function inside EditorGUI.BeginChangeCheck and EditorGUI.EndChangeCheck to detect user interaction and read the updated properties from the handle.
Additional Resources: Editor.OnSceneGUI(), Handles.SetCamera.

DrawHandle(bool)

A function to display this instance in the current handle camera using its current configuration.
public void DrawHandle(bool usingArticulations)

Parameters

usingArticulations

Remarks

Always write properties to the handle before calling this function. Place the calls to this function inside EditorGUI.BeginChangeCheck and EditorGUI.EndChangeCheck to detect user interaction and read the updated properties from the handle.
Additional Resources: Editor.OnSceneGUI(), Handles.SetCamera.