Version: 5.4 beta (switch to 5.3)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Handles.DrawCapFunction

public delegate void DrawCapFunction(int controlID, Vector3 position, Quaternion rotation, float size);

Parameters

Description

The function to use for drawing the handle e.g. Handles.RectangleCap.