Unity Engine documentationScript ReferenceUnityEditorUnityEditor.ToolbarsEditorToolbarToggleonIconThe icon associated with the toggle when the value is true.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEditor.Toolbars Assembly: UnityEditor public Texture2D onIcon { get; set; }