IGEditorUtils.

TempContent(string, string) Method

Summary

Creates and returns a UnityEngine.GUIContent with the specified parameters on the first call and then simply returns the same one with new parameters on each subsequent call.

Syntax

public static GUIContent TempContent(string text = null, string tooltip = null)

Parameters

Name Type Description
text string
tooltip string

Return Value

Type Description
GUIContent