refactor interact system
interact only after PopupItemMenu button clicked
This commit is contained in:
@@ -7,9 +7,8 @@ public class OfficeTable : BaseInteractableObject
|
||||
[SerializeField]
|
||||
private JobsListSO _jobPositionsSO;
|
||||
|
||||
public override void Interact(Player player)
|
||||
protected override void InteractAction()
|
||||
{
|
||||
base.Interact(player);
|
||||
UIManager.Instance.ShowJobSelectionDialog("Job agency", null, OnConfirm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user