SkillAgentSearch skills...

ComponentTitlebarGUI

Unity3d script that add callback to draw MGUI upon any Component Titlebar

Install / Use

/learn @mitay-walle/ComponentTitlebarGUI
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ComponentTitlebarGUI

Unity3d script that add callback to draw MGUI (without CustomEditor) in Inspector upon:

  • on any Component Titlebar
  • on GameObject Icon
  • on Material title preview

image_2024-10-24_04-19-10 image

Usage Example

[InitializeOnLoadMethod]
public static void Init()
{
  ComponentTitlebarGUI.OnTitlebarGUI += TestGUI;
}

private static void TestGUI(Rect rect, Object target)
{
  if (target is not MonoBehaviour) return;  
  GUI.Label(rect, EditorGUIUtility.IconContent("console.erroricon.sml"));
}
View on GitHub
GitHub Stars15
CategoryProduct
Updated6d ago
Forks1

Languages

C#

Security Score

95/100

Audited on Mar 25, 2026

No findings