Unity - Scripting API: MainToolbarContent
struct in UnityEditor.Toolbars
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
A descriptor for the visual content of a main toolbar element.
Properties
| Property | Description |
|---|---|
| image | Icon to display in the toolbar element. |
| text | Text to display in the toolbar element. |
| tooltip | Tooltip to display when a user hovers over the toolbar element. |
Constructors
| Constructor | Description |
|---|---|
| MainToolbarContent | Specify a visual content descriptor for a main toolbar element. |