diff --git a/Assets/Scenes/House.unity b/Assets/Scenes/House.unity index 15328fed..2eccef73 100644 --- a/Assets/Scenes/House.unity +++ b/Assets/Scenes/House.unity @@ -1826,12 +1826,12 @@ PrefabInstance: - target: {fileID: 7442524031950193185, guid: 8939548f67eb43c4fa321f112c45f83b, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7442524031950193185, guid: 8939548f67eb43c4fa321f112c45f83b, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7442524031950193185, guid: 8939548f67eb43c4fa321f112c45f83b, type: 3} @@ -1841,7 +1841,7 @@ PrefabInstance: - target: {fileID: 7442524031950193185, guid: 8939548f67eb43c4fa321f112c45f83b, type: 3} propertyPath: m_AnchoredPosition.y - value: -90 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7447373990901456422, guid: 8939548f67eb43c4fa321f112c45f83b, type: 3} diff --git a/Assets/Scripts/InteractableObjects/OfficeTable.cs b/Assets/Scripts/InteractableObjects/OfficeTable.cs index 75223bdc..d35474c9 100644 --- a/Assets/Scripts/InteractableObjects/OfficeTable.cs +++ b/Assets/Scripts/InteractableObjects/OfficeTable.cs @@ -8,7 +8,7 @@ public class OfficeTable : BaseInteractableObject public override void Interact(Player player) { - print("Interact with office table"); + UIManager.Instance.ShowJobSelectionDialog("Job agency", "job offers", null, null); } diff --git a/Assets/Scripts/Player/Player.cs b/Assets/Scripts/Player/Player.cs index 96388660..b4730b80 100644 --- a/Assets/Scripts/Player/Player.cs +++ b/Assets/Scripts/Player/Player.cs @@ -54,7 +54,7 @@ public class Player : MonoBehaviour _currentActing = PlayerStates.Awake; - UIManager.Instance.ShowJobSelectionDialog("Job agency", "job offers", null, null); + } private void OnDestroy()