Beispiel #1
0
        protected virtual void handleContextDropdownOpened(ContextDropdownButton button, Sleek2HoverDropdown dropdown)
        {
            Sleek2DropdownButtonTemplate sleek2DropdownButtonTemplate = new Sleek2DropdownButtonTemplate();

            sleek2DropdownButtonTemplate.label.textComponent.text = "Close";
            sleek2DropdownButtonTemplate.clicked += this.handleCloseButtonClicked;
            dropdown.addElement(sleek2DropdownButtonTemplate);
        }
 // Token: 0x06001074 RID: 4212 RVA: 0x0006C134 File Offset: 0x0006A534
 protected void handleContextOpened(ContextDropdownButton button, Sleek2HoverDropdown dropdown)
 {
     AssetBrowserContextCreateAssetHandler.handleContextDropdownOpened(dropdown, this.directory);
 }