office table Interact

This commit is contained in:
2023-04-03 16:02:48 +03:00
parent fda05c639d
commit f2753a363b
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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}
@@ -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);
}
+1 -1
View File
@@ -54,7 +54,7 @@ public class Player : MonoBehaviour
_currentActing = PlayerStates.Awake;
UIManager.Instance.ShowJobSelectionDialog("Job agency", "job offers", null, null);
}
private void OnDestroy()