can interact if player has tool selected (in hand))

This commit is contained in:
j.mei7
2022-02-18 20:25:35 +01:00
parent 73669eaa3f
commit 3ff90d47c2
30 changed files with 505 additions and 78 deletions

View File

@@ -6,10 +6,10 @@ EditorUserSettings:
serializedVersion: 4
m_ConfigSettings:
RecentlyUsedSceneGuid-0:
value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
value: 565403025d065d5e5a5a0a7445205c44124e192b7b7f733375791f6be4b76d39
flags: 0
RecentlyUsedSceneGuid-1:
value: 565403025d065d5e5a5a0a7445205c44124e192b7b7f733375791f6be4b76d39
value: 515250075c0c595e5f5a5e71122159444e4e4a2f7a7d7f602f284d66b4b76661
flags: 0
vcSharedLogLevel:
value: 0d5e400f0650

View File

@@ -14,16 +14,16 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_PixelRect:
serializedVersion: 2
x: 0
y: 43
width: 1920
x: -1912
y: 51
width: 1904
height: 989
m_ShowMode: 4
m_Title: Scene
m_Title: Inspector
m_RootView: {fileID: 2}
m_MinSize: {x: 875, y: 350}
m_MaxSize: {x: 10000, y: 10000}
m_Maximized: 1
m_Maximized: 0
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -44,7 +44,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1920
width: 1904
height: 989
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
@@ -69,7 +69,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1920
width: 1904
height: 30
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@@ -91,7 +91,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 969
width: 1920
width: 1904
height: 20
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@@ -114,12 +114,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 30
width: 1920
width: 1904
height: 939
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 42
controlID: 58
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -139,12 +139,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1476
width: 1469
height: 939
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 43
controlID: 77
--- !u!114 &7
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -164,12 +164,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1476
width: 1469
height: 615
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 44
controlID: 64
--- !u!114 &8
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -187,10 +187,10 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 304
width: 302
height: 615
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 4000, y: 4000}
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 13}
m_Panes:
- {fileID: 13}
@@ -211,9 +211,9 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 304
x: 302
y: 0
width: 1172
width: 1167
height: 615
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
@@ -240,7 +240,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 615
width: 1476
width: 1469
height: 324
m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021}
@@ -265,12 +265,12 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1476
x: 1469
y: 0
width: 444
width: 435
height: 939
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
m_MinSize: {x: 275, y: 50}
m_MaxSize: {x: 4000, y: 4000}
m_ActualView: {fileID: 17}
m_Panes:
- {fileID: 17}
@@ -296,10 +296,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 304
x: -1616
y: 73
width: 1170
height: 594
height: 625
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@@ -310,7 +310,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 1170, y: 573}
m_TargetSize: {x: 1170, y: 604}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
@@ -327,8 +327,8 @@ MonoBehaviour:
vZoomLockedByDefault: 0
m_HBaseRangeMin: -585
m_HBaseRangeMax: 585
m_VBaseRangeMin: -286.5
m_VBaseRangeMax: 286.5
m_VBaseRangeMin: -302
m_VBaseRangeMax: 302
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
@@ -337,7 +337,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1
@@ -347,9 +347,9 @@ MonoBehaviour:
x: 0
y: 21
width: 1170
height: 573
height: 604
m_Scale: {x: 1, y: 1}
m_Translation: {x: 585, y: 286.5}
m_Translation: {x: 585, y: 302}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
@@ -357,12 +357,12 @@ MonoBehaviour:
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -585
y: -286.5
y: -302
width: 1170
height: 573
height: 604
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 1170, y: 594}
m_LastWindowPixelSize: {x: 1170, y: 625}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000
@@ -388,9 +388,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 0
y: 73
width: 303
x: -1912
y: 81
width: 301
height: 594
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -399,9 +399,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 2cfbffff
m_LastClickedID: -1236
m_ExpandedIDs: 2efbffffa66a0000
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 48e2ffff9ae3ffff2efbffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -445,9 +445,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 304
y: 73
width: 1170
x: -1610
y: 81
width: 1165
height: 594
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -672,9 +672,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 5.149206, y: -2.6883645, z: 0.056333315}
m_Target: {x: 4.236046, y: 1.978678, z: 0.2763816}
speed: 2
m_Value: {x: 5.149206, y: -2.6883645, z: 0.056333315}
m_Value: {x: 4.236046, y: 1.978678, z: 0.2763816}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -725,9 +725,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 12.813291
m_Target: 7.5358753
speed: 2
m_Value: 12.813291
m_Value: 7.5358753
m_Ortho:
m_Target: 1
speed: 2
@@ -772,9 +772,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 0
y: 688
width: 1475
x: -1912
y: 696
width: 1468
height: 303
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -793,22 +793,22 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Sprites
- Assets/Scripts/Inventory
m_Globs: []
m_OriginalText:
m_ViewMode: 1
m_StartGridSize: 74
m_LastFolders:
- Assets/Sprites
- Assets/Scripts/Inventory
m_LastFoldersGridSize: 74
m_LastProjectPath: M:\UnityProjects\2d-top-down
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 906f0000
m_LastClickedID: 28560
m_ExpandedIDs: 000000006e6f00005081000000ca9a3bffffff7f
m_SelectedIDs: 0e700000
m_LastClickedID: 28686
m_ExpandedIDs: 000000009a6f00009c6f0000c66f00000e7000001270000000ca9a3bffffff7f
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -836,7 +836,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 000000006e6f0000
m_ExpandedIDs: 000000009a6f00009c6f0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -912,10 +912,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 0
y: 688
width: 1474
height: 303
x: -1920
y: 719
width: 1475
height: 320
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@@ -940,9 +940,9 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1476
y: 73
width: 443
x: -443
y: 81
width: 434
height: 918
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
@@ -955,7 +955,7 @@ MonoBehaviour:
m_ControlHash: -371814159
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: -1
m_LastVerticalScrollValue: 41
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0
m_LockTracker: