office table Interact
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ public class Player : MonoBehaviour
|
||||
|
||||
_currentActing = PlayerStates.Awake;
|
||||
|
||||
UIManager.Instance.ShowJobSelectionDialog("Job agency", "job offers", null, null);
|
||||
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
|
||||
Reference in New Issue
Block a user