PropertyInterface
Nectunia.Utility.CustomIcon Class Reference

Detailed Description

Tool class to manage Object icon in Editor.

Static Public Member Functions

static void SetUnityObjectIcon (UnityEngine.Object unityObject, Texture2D icon)
 Change the icon to a Unity Object in the Inspector and Project tabs. More...
 

Member Function Documentation

◆ SetUnityObjectIcon()

static void Nectunia.Utility.CustomIcon.SetUnityObjectIcon ( UnityEngine.Object  unityObject,
Texture2D  icon 
)
static

Change the icon to a Unity Object in the Inspector and Project tabs.

Parameters
unityObjectThe Unity Object to change.
iconThe new icon.