기술 자료

Unity Engine

Unity Engine

CreationToolsGroup

This class represents the creation tools group. Pass this class’s type to the ToolAttribute.group parameter to place your EditorTool button in the built-in creation tools group in the Tools overlay.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

[Icon("Icons/Toolbars/CreationToolsGroup.png")]public sealed class CreationToolsGroup

Remarks

Only tools that create new objects and/or data in the Scene View should be registered to this group.

Examples

using UnityEditor.EditorTools;// Register Editor Tool as a creation tool[EditorTool("Custom Creation Tool", group = typeof(CreationToolsGroup))]public class CustomCreationTool : EditorTool { }