Saving Loadouts
Added entity save option to the inventory panel dropdown
This commit is contained in:
parent
8d6770ab15
commit
b4432b7aca
18 changed files with 192 additions and 103 deletions
|
|
@ -124,6 +124,12 @@ public class InventoryPanel : MonoBehaviour
|
|||
|
||||
if(GameManager.DockingBay!=null && _displayedCargo!=GameManager.DockingBay)
|
||||
ContextMenu.AddOption(GameManager.DockingBay.Name, () => Display(GameManager.DockingBay));
|
||||
|
||||
ContextMenu.AddOption("Create Preset",
|
||||
() =>
|
||||
{
|
||||
GameManager.SavePreset(EntityPack.Pack(_displayedEntity));
|
||||
});
|
||||
|
||||
ContextMenu.Show();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue