Cash Money
Player credits now tracked by game manager Buying items subtracts credits Right clicking on trade menu items allows player to buy multiple Inventory panel dropdown now allows instantiating saved loadouts
This commit is contained in:
parent
b4432b7aca
commit
48abee4847
9 changed files with 239 additions and 51 deletions
|
|
@ -65,11 +65,11 @@ public class ContextMenu : MonoBehaviour
|
|||
optionButton.Label.text = text;
|
||||
optionButton.Button.onClick.AddListener(() =>
|
||||
{
|
||||
action();
|
||||
if(Parent!=null)
|
||||
Parent.End();
|
||||
else
|
||||
End();
|
||||
action();
|
||||
});
|
||||
optionButton.Hover.OnEnter += data =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue