public void OpenDriveEditor(DriveItem drive) { glyphItemUI = new GlyphItemsUI(); glyphItemUI.drive = drive; glyphItemUI.maxSize = drive.maxSize; glyphItemUI.Activate(); UI.SetState(glyphItemUI); }
public override void Unload() { actions = null; Actions = null; UI = null; modularUI = null; glyphItemUI = null; modularUIState = null; ActionContext.Default = null; Sets.Item.casing = null; Sets.Item.drive = null; Sets.Item.lens = null; Sets.Item.battery = null; Textures.UnloadAll(); instance = null; }