TerrainToolShortcutContext
The shortcut context that is active while editing Terrain.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
- Implements: IShortcutContext
public class TerrainToolShortcutContext : IShortcutContext
Remarks
Use this context to define shortcut hotkeys that are active only while editing Terrain.
Methods
Method | Description |
|---|---|
| SelectPaintTool | Changes the selected Terrain paint tool. |
| SelectPaintToolWithOverlays | Changes the selected Terrain paint tool if that paint tool is a TerrainPaintToolWithOverlays. |