Beispiel #1
0
 public void PopulateGenericMenu(InspectorProperty property, GenericMenu genericMenu)
 {
     genericMenu.AddItem(new GUIContent("Watch"), false, () => OdinWatchWindow.AddWatch(property));
 }
Beispiel #2
0
 public static void ShowMenu()
 {
     _instance = GetWindow <OdinWatchWindow>();
     _instance.Show();
 }