기술 자료

Unity Engine

Unity Engine

icon

Specifies the path to an Editor window's default icon.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public string icon { get; set; }

Remarks

The path must be in the Project, and must include the default icon's name and file extension. For example:
Assets/Editor/MyIcons/MyWindowIcon.png
Any icon variants must be in the same folder as the default icon.