Summary
Returns a
UnityEngine.GUIContent containing the specified parameters. The same object is returned every
time so it can be reused without causing garbage collection.
- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor - Containing Type
- Weaver
Editor Utilities
Syntax
public static GUIContent TempContent(string text, string tooltip = null, Texture image = null)
Parameters
| Name | Type | Description |
|---|---|---|
| text | string | |
| tooltip | string | |
| image | Texture |
Return Value
| Type | Description |
|---|---|
| GUIContent |