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
|
|
@ -19,7 +19,7 @@ public class ConfirmationDialog : PropertiesPanel
|
|||
private Action _onCancel;
|
||||
private Action _onConfirm;
|
||||
|
||||
private new void Start()
|
||||
private void Start()
|
||||
{
|
||||
Cancel.onClick.AddListener(() =>
|
||||
{
|
||||
|
|
@ -62,7 +62,7 @@ public class ConfirmationDialog : PropertiesPanel
|
|||
_onCancel = onCancel;
|
||||
Cancel.gameObject.SetActive(onCancel!=null);
|
||||
|
||||
ButtonGroup.SetActive(onConfirm!=null && onCancel!=null);
|
||||
ButtonGroup.SetActive(onConfirm!=null || onCancel!=null);
|
||||
|
||||
transform.position = Mouse.current.position.ReadValue();
|
||||
CancelClickCatcher.gameObject.SetActive(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue