文档

Unity Engine

Unity Engine

current

The tool that is currently selected for the Scene View.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static Tool current { get; set; }

Remarks

This refers to the View, Move, Rotate and Scale tools available in the toolbar for the main editor window.