Skip to content
Insight for Unity

Insight for Unity

  • Home
  • Documentation
  • Getting Started
    • Installing Insight
    • Configuration
    • Custom Menu Items
    • Custom Windows
  • Home
  • /
  • Documentation
  • /
  • Insight
  • /
  • Getting Started

Custom Menu Items

Adding your own menu items to Insight’s menu bar is very easy:

public class Example : MonoBehaviour
{
	public void Start()
	{
		Insight.AddMenuItem("Test/Hello World", this.SayHello);
	}

	private void SayHello()
	{
		Debug.Log("Hello World");
	}
}

Last modified November 11, 2019

Doc navigation

< Configuration Custom Windows >
Copyright © 2025 - All rights reserved. Built on WeCodeArt Framework.