Player can select job position now
This commit is contained in:
@@ -13,8 +13,9 @@ public class OfficeTable : BaseInteractableObject
|
||||
UIManager.Instance.ShowJobSelectionDialog("Job agency", null, OnConfirm);
|
||||
}
|
||||
|
||||
private void OnConfirm()
|
||||
private void OnConfirm(JobInfoSO selectedJob)
|
||||
{
|
||||
_player.JobPosition = JobPositions.Clerk;
|
||||
_player.JobPosition = selectedJob.JobPosition;
|
||||
print($"player selected position is {_player.JobPosition}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user