private static void CreateTool() { var menu = new GenericMenu(); var icon = Resources.Load <Texture>($"{EditorResources.IconsPath}/ToolbarSceneLoader"); Tool = new ToolbaPopup(menu, "Scenes", icon); ToolbarTools.AddTool(Tool, ToolbarSide.Left); }
static ToolbarSceneLoader() { Tool = null; }