ContainerCounter

master
DJh2o2 2023-02-01 14:44:19 +07:00
parent 39329ba7cb
commit 4f755637c8
59 changed files with 12543 additions and 15720 deletions

@ -47,12 +47,16 @@
<ItemGroup>
<Compile Include="Assets\Scripts\ClearCounter.cs" />
<Compile Include="Assets\Scripts\PlayerInputActions.cs" />
<Compile Include="Assets\Scripts\ContainerCounter.cs" />
<Compile Include="Assets\Scripts\KitchenObjectSO.cs" />
<Compile Include="Assets\Scripts\Player.cs" />
<Compile Include="Assets\Scripts\GameInput.cs" />
<Compile Include="Assets\Scripts\SelectedCounterVisual.cs" />
<Compile Include="Assets\Scripts\ContainerCounterVisual.cs" />
<Compile Include="Assets\Scripts\PlayerAnimator.cs" />
<Compile Include="Assets\Scripts\IKitchenObjectParent.cs" />
<Compile Include="Assets\Scripts\KitchenObject.cs" />
<Compile Include="Assets\Scripts\BaseCounter.cs" />
<Folder Include="Assets" />
<Folder Include="Library\BuildInstructions" />
<Folder Include="Assets\_Assets\Meshes\Textures" />
@ -816,6 +820,9 @@
<Reference Include="Unity.Services.Core.Environments">
<HintPath>G:\coding\unity\KitchenChaos\Library\ScriptAssemblies\Unity.Services.Core.Environments.dll</HintPath>
</Reference>
<Reference Include="Unity.2D.Sprite.Editor">
<HintPath>G:\coding\unity\KitchenChaos\Library\ScriptAssemblies\Unity.2D.Sprite.Editor.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>G:\coding\unity\KitchenChaos\Library\ScriptAssemblies\UnityEngine.UI.dll</HintPath>
</Reference>

@ -1,114 +1,129 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &160166231906081607
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7196755653897210134}
- component: {fileID: 4837936127893396492}
- component: {fileID: 8631200826292725114}
m_Layer: 6
m_Name: ClearCounter
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7196755653897210134
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 160166231906081607}
m_LocalRotation: {x: 0, y: -1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: 2.79}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3038151871867179944}
- {fileID: 9003919026180124784}
- {fileID: 3972990330611991223}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: -180, z: 0}
--- !u!65 &4837936127893396492
BoxCollider:
--- !u!1001 &270957352829988206
PrefabInstance:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_Name
value: ClearCounter
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.w
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -180
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 7216603047413822278}
- targetCorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 5383179041209700085}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 3923654971981083141}
m_SourcePrefab: {fileID: 100100000, guid: baedeb81787a01d4d84373499280a841, type: 3}
--- !u!1 &142888201842882089 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 270957352829988206}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 160166231906081607}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 1.5, y: 1.5, z: 1.5}
m_Center: {x: 0, y: 0.5, z: 0}
--- !u!114 &8631200826292725114
--- !u!114 &3923654971981083141
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 160166231906081607}
m_GameObject: {fileID: 142888201842882089}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b2f50d098a8a1ec469b701f0b752d670, type: 3}
m_Name:
m_EditorClassIdentifier:
kitchenObjectSo: {fileID: 11400000, guid: 85a2a73f76ad0af458de1ea0f8aee734, type: 2}
counterTopPoint: {fileID: 3972990330611991223}
--- !u!1 &3648195796242102822
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
counterTopPoint: {fileID: 3810124317329895385}
--- !u!4 &3810124317329895385 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3972990330611991223, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 270957352829988206}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3972990330611991223}
m_Layer: 6
m_Name: CounterTopPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3972990330611991223
--- !u!4 &6927276635257693304 stripped
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_CorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 270957352829988206}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3648195796242102822}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7196755653897210134}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1556094826548147971
--- !u!1001 &6599872676598601709
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7196755653897210134}
m_TransformParent: {fileID: 6927276635257693304}
m_Modifications:
- target: {fileID: 4589716710238282922, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
@ -175,19 +190,19 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0004cb1e11ad014419b943c7da960724, type: 3}
--- !u!4 &3038151871867179944 stripped
--- !u!4 &7216603047413822278 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4589716710238282923, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
m_PrefabInstance: {fileID: 1556094826548147971}
m_PrefabInstance: {fileID: 6599872676598601709}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &4847469284340110555
--- !u!1001 &8432172088513309278
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7196755653897210134}
m_TransformParent: {fileID: 6927276635257693304}
m_Modifications:
- target: {fileID: 3984833892277163771, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
@ -291,37 +306,38 @@ PrefabInstance:
- targetCorrespondingSourceObject: {fileID: 4589716710238282922, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
insertIndex: -1
addedObject: {fileID: 1597521873116674587}
addedObject: {fileID: 9185340921898168974}
m_SourcePrefab: {fileID: 100100000, guid: 0004cb1e11ad014419b943c7da960724, type: 3}
--- !u!1 &3930045609120683924 stripped
--- !u!1 &57121688881588497 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8489276541531669327, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
m_PrefabInstance: {fileID: 4847469284340110555}
m_PrefabInstance: {fileID: 8432172088513309278}
m_PrefabAsset: {fileID: 0}
--- !u!4 &9003919026180124784 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4589716710238282923, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
m_PrefabInstance: {fileID: 4847469284340110555}
m_PrefabAsset: {fileID: 0}
--- !u!1 &9003919026180124785 stripped
--- !u!1 &5383179041209700084 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4589716710238282922, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
m_PrefabInstance: {fileID: 4847469284340110555}
m_PrefabInstance: {fileID: 8432172088513309278}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1597521873116674587
--- !u!114 &9185340921898168974
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9003919026180124785}
m_GameObject: {fileID: 5383179041209700084}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8b85903dace450642b90692dcac31e5f, type: 3}
m_Name:
m_EditorClassIdentifier:
clearCounter: {fileID: 8631200826292725114}
visualGameObject: {fileID: 3930045609120683924}
baseCounter: {fileID: 3923654971981083141}
visualGameObjectArray:
- {fileID: 57121688881588497}
--- !u!4 &5383179041209700085 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4589716710238282923, guid: 0004cb1e11ad014419b943c7da960724,
type: 3}
m_PrefabInstance: {fileID: 8432172088513309278}
m_PrefabAsset: {fileID: 0}

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 3b9bbb4f9148d3e498dfde3781a3eeec
guid: c26051b8a012bd04bbf09f97015038fb
PrefabImporter:
externalObjects: {}
userData:

@ -0,0 +1,420 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &2295297556829886965
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_Name
value: ContainerCounter
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.w
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.y
value: -1
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -180
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 7057229009926229326}
- targetCorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 8849412208764645339}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 9135689135718850705}
m_SourcePrefab: {fileID: 100100000, guid: baedeb81787a01d4d84373499280a841, type: 3}
--- !u!1 &2153721870387282610 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 2295297556829886965}
m_PrefabAsset: {fileID: 0}
--- !u!114 &9135689135718850705
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2153721870387282610}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b4662711e6e0b174992670a8d40e14f7, type: 3}
m_Name:
m_EditorClassIdentifier:
counterTopPoint: {fileID: 2952229747726900034}
kitchenObjectSo: {fileID: 11400000, guid: 85a2a73f76ad0af458de1ea0f8aee734, type: 2}
--- !u!4 &2952229747726900034 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3972990330611991223, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 2295297556829886965}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8951620954509349091 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 2295297556829886965}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5007614122553412464
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8951620954509349091}
m_Modifications:
- target: {fileID: 102550813385737453, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 353237590725857035, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2298542010046885598, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 1a0afd856a35421469b28b916116fd9c, type: 2}
- target: {fileID: 4589716710238282922, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_Name
value: Selected
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalScale.x
value: 1.01
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalScale.y
value: 1.01
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalScale.z
value: 1.01
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5850129231471598083, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 1a0afd856a35421469b28b916116fd9c, type: 2}
- target: {fileID: 7638390755804248883, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 1a0afd856a35421469b28b916116fd9c, type: 2}
- target: {fileID: 7816906318471787887, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8143070647044102886, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8609693441769329850, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 1a0afd856a35421469b28b916116fd9c, type: 2}
m_RemovedComponents:
- {fileID: 6289625630049244101, guid: 9a9137fa2b035d34e881701d2c178192, type: 3}
m_RemovedGameObjects:
- {fileID: 5261771210811040880, guid: 9a9137fa2b035d34e881701d2c178192, type: 3}
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 4589716710238282922, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
insertIndex: -1
addedObject: {fileID: 5273238279198879052}
m_SourcePrefab: {fileID: 100100000, guid: 9a9137fa2b035d34e881701d2c178192, type: 3}
--- !u!1 &2955949474742205983 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7816906318471787887, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 5007614122553412464}
m_PrefabAsset: {fileID: 0}
--- !u!1 &3782848998910448022 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8143070647044102886, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 5007614122553412464}
m_PrefabAsset: {fileID: 0}
--- !u!1 &4726647882512401531 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 353237590725857035, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 5007614122553412464}
m_PrefabAsset: {fileID: 0}
--- !u!1 &4905207144410664861 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 102550813385737453, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 5007614122553412464}
m_PrefabAsset: {fileID: 0}
--- !u!1 &8849412208764645338 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4589716710238282922, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 5007614122553412464}
m_PrefabAsset: {fileID: 0}
--- !u!114 &5273238279198879052
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8849412208764645338}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8b85903dace450642b90692dcac31e5f, type: 3}
m_Name:
m_EditorClassIdentifier:
baseCounter: {fileID: 9135689135718850705}
visualGameObjectArray:
- {fileID: 2955949474742205983}
- {fileID: 3782848998910448022}
- {fileID: 4726647882512401531}
- {fileID: 4905207144410664861}
--- !u!4 &8849412208764645339 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 5007614122553412464}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &6791889359157160421
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8951620954509349091}
m_Modifications:
- target: {fileID: 4589716710238282922, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_Name
value: ContainerCounter_Visual
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4841286013473667211, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 91e8fe3de9249fc44b7bdd8050062896,
type: 3}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 4589716710238282922, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
insertIndex: -1
addedObject: {fileID: 6348349681407810283}
m_SourcePrefab: {fileID: 100100000, guid: 9a9137fa2b035d34e881701d2c178192, type: 3}
--- !u!4 &7057229009926229326 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4589716710238282923, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 6791889359157160421}
m_PrefabAsset: {fileID: 0}
--- !u!1 &7057229009926229327 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4589716710238282922, guid: 9a9137fa2b035d34e881701d2c178192,
type: 3}
m_PrefabInstance: {fileID: 6791889359157160421}
m_PrefabAsset: {fileID: 0}
--- !u!114 &6348349681407810283
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7057229009926229327}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 19d08aa497c5c2a44b8dd7a6bdcbdad0, type: 3}
m_Name:
m_EditorClassIdentifier:
containerCounter: {fileID: 9135689135718850705}

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7e7865ed0fe597142814007f7b78d731
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,87 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &160166231906081607
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7196755653897210134}
- component: {fileID: 4837936127893396492}
m_Layer: 6
m_Name: _BaseCounter
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7196755653897210134
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 160166231906081607}
m_LocalRotation: {x: 0, y: -1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: 2.79}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3972990330611991223}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: -180, z: 0}
--- !u!65 &4837936127893396492
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 160166231906081607}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 1.5, y: 1.5, z: 1.5}
m_Center: {x: 0, y: 0.5, z: 0}
--- !u!1 &3648195796242102822
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3972990330611991223}
m_Layer: 6
m_Name: CounterTopPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3972990330611991223
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3648195796242102822}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7196755653897210134}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: baedeb81787a01d4d84373499280a841
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,14 @@
using UnityEngine;
public class BaseCounter : MonoBehaviour, IKitchenObjectParent
{
[SerializeField] private Transform counterTopPoint;
private KitchenObject kitchenObject;
public virtual void Interact(Player player) => Debug.LogError("BaseCounter.Interact()");
public Transform GetKitchenObjectFollowTransform() => counterTopPoint;
public void SetKitchenObject(KitchenObject kO) => kitchenObject = kO;
public KitchenObject GetKitchenObject() => kitchenObject;
public void ClearKitchenObject() => kitchenObject = null;
public bool HasKitchenObject() => kitchenObject != null;
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c753155742bcb4d48b580a61c50b94d6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,34 +1,12 @@
using UnityEngine;
using Vector3 = UnityEngine.Vector3;
public class ClearCounter : MonoBehaviour
public class ClearCounter : BaseCounter
{
private KitchenObject kitchenObject;
[SerializeField] private KitchenObjectSo kitchenObjectSo;
[SerializeField] private Transform counterTopPoint;
[SerializeField] private KitchenObjectSO kitchenObjectSo;
public void Interact(Player player)
public override void Interact(Player player)
{
if (kitchenObject == null)
{
Transform kitchenObjectTransform = Instantiate(kitchenObjectSo.prefab, counterTopPoint);
kitchenObjectTransform.GetComponent<KitchenObject>().ClearCounter = this;
}
else
{
// Give the object to the player
kitchenObject.ClearCounter = player;
}
}
public Transform GetKitchenObjectFollowTransform() => counterTopPoint;
public void SetKitchenObject(KitchenObject kO) => kitchenObject = kO;
public KitchenObject GetKitchenObject() => kitchenObject;
public void ClearKitchenObject() => kitchenObject = null;
public bool HasKitchenObject() => kitchenObject != null;
}

@ -0,0 +1,19 @@
using System;
using UnityEngine;
public class ContainerCounter : BaseCounter
{
public event EventHandler OnPlayerGrabbedObject;
[SerializeField] private KitchenObjectSO kitchenObjectSo;
public override void Interact(Player player)
{
if (!HasKitchenObject())
{
Transform kitchenObjectTransform = Instantiate(kitchenObjectSo.prefab);
kitchenObjectTransform.GetComponent<KitchenObject>().SetKitchenObjectParent(player);
OnPlayerGrabbedObject?.Invoke(this,EventArgs.Empty);
}
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b4662711e6e0b174992670a8d40e14f7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,24 @@
using System;
using UnityEngine;
public class ContainerCounterVisual : MonoBehaviour
{
[SerializeField] private ContainerCounter containerCounter;
private Animator animator;
private static readonly int openClose = Animator.StringToHash("OpenClose");
private void Awake()
{
animator = GetComponent<Animator>();
}
private void Start()
{
containerCounter.OnPlayerGrabbedObject += ContainerCounbter_OnPlayerGrabbedObject;
}
private void ContainerCounbter_OnPlayerGrabbedObject(object sender, EventArgs e)
{
animator.SetTrigger(openClose);
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 19d08aa497c5c2a44b8dd7a6bdcbdad0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,10 @@
using UnityEngine;
public interface IKitchenObjectParent
{
public Transform GetKitchenObjectFollowTransform();
public void SetKitchenObject(KitchenObject kitchenObject);
public KitchenObject GetKitchenObject();
public void ClearKitchenObject();
public bool HasKitchenObject();
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 818764d312cedc046828a74096139898
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -1,26 +1,35 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;
public class KitchenObject : MonoBehaviour
{
private ClearCounter clearCounter;
public ClearCounter ClearCounter
[SerializeField] private KitchenObjectSO kitchenObjectSo;
private IKitchenObjectParent kitchenObjectParent;
public KitchenObjectSO GetKitchenObjectSo()
{
get => clearCounter;
set
{
if (clearCounter != null) clearCounter.ClearKitchenObject();
clearCounter = value;
if (clearCounter.HasKitchenObject())
Debug.LogError("Counter already has a KitchenObject");
else
clearCounter.SetKitchenObject(this);
transform.parent = clearCounter.GetKitchenObjectFollowTransform();
transform.localPosition = Vector3.zero;
}
return kitchenObjectSo;
}
[SerializeField] private KitchenObjectSo kitchenObjectSo;
public KitchenObjectSo GetKitchenObjectSo() => kitchenObjectSo;
public void SetKitchenObjectParent(IKitchenObjectParent kitchenObjectParent)
{
kitchenObjectParent?.ClearKitchenObject();
this.kitchenObjectParent = kitchenObjectParent;
if (kitchenObjectParent.HasKitchenObject())
Debug.LogError("IKitchenObjectParent already has a KitchenObject");
kitchenObjectParent.SetKitchenObject(this);
transform.parent = kitchenObjectParent.GetKitchenObjectFollowTransform();
transform.localPosition = Vector3.zero;
}
public IKitchenObjectParent GetKitchenObjectParent()
{
return kitchenObjectParent;
}
}

@ -1,7 +1,7 @@
using UnityEngine;
[CreateAssetMenu()]
public class KitchenObjectSo : ScriptableObject
public class KitchenObjectSO : ScriptableObject
{
public Transform prefab;
public Sprite sprite;

@ -1,14 +1,15 @@
using System;
using UnityEngine;
using UnityEngine.Serialization;
public class Player : MonoBehaviour
public class Player : MonoBehaviour, IKitchenObjectParent
{
public static Player Instance { get; private set; }
public event EventHandler<OnSelectedCounterChangedEventArgs> OnSelectedCounterChanged;
public class OnSelectedCounterChangedEventArgs : EventArgs
{
public ClearCounter SelectedCounter;
public BaseCounter SelectedCounter;
}
[SerializeField] private GameInput gameInput;
@ -16,6 +17,7 @@ public class Player : MonoBehaviour
[SerializeField] private float rotateSpeed = 10f;
[SerializeField] private float interactDistance = 2f;
[SerializeField] private LayerMask counterLayerMask;
[SerializeField] private Transform kitchenObjectHoldPoint;
private bool isWalking;
private const float playerRadius = .7f;
@ -23,7 +25,8 @@ public class Player : MonoBehaviour
private Vector2 inputVector;
private Vector3 moveDir;
private Vector3 lastInteractDir;
private ClearCounter selectedCounter;
private BaseCounter selectedCounter;
private KitchenObject kitchenObject;
private void Awake()
{
@ -38,7 +41,7 @@ public class Player : MonoBehaviour
private void GameInput_OnInteractAction(object sender, EventArgs e)
{
if (selectedCounter != null) selectedCounter.Interact();
if (selectedCounter != null) selectedCounter.Interact(this);
}
private void Update()
@ -51,14 +54,13 @@ public class Player : MonoBehaviour
{
if (moveDir != Vector3.zero) lastInteractDir = moveDir;
if (Physics.Raycast(transform.position, lastInteractDir, out RaycastHit raycastHit, interactDistance,
counterLayerMask))
if (Physics.Raycast(transform.position, lastInteractDir, out RaycastHit raycastHit, interactDistance, counterLayerMask))
{
if (raycastHit.transform.TryGetComponent(out ClearCounter clearCounter))
if (raycastHit.transform.TryGetComponent(out BaseCounter baseCounter))
{
// Has ClearCounter
if (clearCounter != selectedCounter)
SetSelectedCounter(clearCounter);
if (baseCounter != selectedCounter)
SetSelectedCounter(baseCounter);
}
else
SetSelectedCounter(null);
@ -67,7 +69,7 @@ public class Player : MonoBehaviour
SetSelectedCounter(null);
}
private void SetSelectedCounter(ClearCounter sC)
private void SetSelectedCounter(BaseCounter sC)
{
selectedCounter = sC;
OnSelectedCounterChanged?.Invoke(this,new(){ SelectedCounter = sC });
@ -126,4 +128,10 @@ public class Player : MonoBehaviour
{
transform.position += moveDirection * moveDistance;
}
public Transform GetKitchenObjectFollowTransform() => kitchenObjectHoldPoint;
public void SetKitchenObject(KitchenObject kO) => kitchenObject = kO;
public KitchenObject GetKitchenObject() => kitchenObject;
public void ClearKitchenObject() => kitchenObject = null;
public bool HasKitchenObject() => kitchenObject != null;
}

@ -1,11 +1,10 @@
using System;
using UnityEngine;
using UnityEngine.Serialization;
public class SelectedCounterVisual : MonoBehaviour
{
[SerializeField] private ClearCounter clearCounter;
[SerializeField] private GameObject visualGameObject;
[SerializeField] private BaseCounter baseCounter;
[SerializeField] private GameObject[] visualGameObjectArray;
private void Start()
{
Player.Instance.OnSelectedCounterChanged += Player_OnSelectedCounterChanged;
@ -13,7 +12,7 @@ public class SelectedCounterVisual : MonoBehaviour
private void Player_OnSelectedCounterChanged(object sender, Player.OnSelectedCounterChangedEventArgs e)
{
if (e.SelectedCounter == clearCounter)
if (e.SelectedCounter == baseCounter)
Show();
else
Hide();
@ -21,11 +20,13 @@ public class SelectedCounterVisual : MonoBehaviour
private void Show()
{
visualGameObject.SetActive(true);
foreach (GameObject visualGameObject in visualGameObjectArray)
visualGameObject.SetActive(true);
}
private void Hide()
{
visualGameObject.SetActive(false);
foreach (GameObject visualGameObject in visualGameObjectArray)
visualGameObject.SetActive(false);
}
}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -1,3 +1,4 @@
Library\Bee\artifacts\mvdfrm\Unity.2D.Sprite.Editor.ref.dll_0169DD889AE82A51.mvfrm
Library\Bee\artifacts\mvdfrm\Unity.Burst.Editor.ref.dll_4F7B73E229D756B2.mvfrm
Library\Bee\artifacts\mvdfrm\Unity.Burst.ref.dll_A9D47564F0C574EF.mvfrm
Library\Bee\artifacts\mvdfrm\Unity.InputSystem.ref.dll_1D3F17F22588E4A8.mvfrm

@ -346,6 +346,7 @@
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/Cinemachine.ref.dll"
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/com.unity.cinemachine.editor.ref.dll"
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/PPv2URPConverters.ref.dll"
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/Unity.2D.Sprite.Editor.ref.dll"
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/Unity.Burst.Editor.ref.dll"
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/Unity.Burst.ref.dll"
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/Unity.InputSystem.ref.dll"
@ -384,8 +385,12 @@
-r:"Library/Bee/artifacts/1900b0aEDbg.dag/UnityEngine.UI.ref.dll"
-analyzer:"C:/Program Files/Unity/Hub/Editor/2023.1.0a26/Editor/Data/Tools/Unity.SourceGenerators/Unity.Properties.SourceGenerator.dll"
-analyzer:"C:/Program Files/Unity/Hub/Editor/2023.1.0a26/Editor/Data/Tools/Unity.SourceGenerators/Unity.SourceGenerators.dll"
"Assets/Scripts/BaseCounter.cs"
"Assets/Scripts/ClearCounter.cs"
"Assets/Scripts/ContainerCounter.cs"
"Assets/Scripts/ContainerCounterVisual.cs"
"Assets/Scripts/GameInput.cs"
"Assets/Scripts/IKitchenObjectParent.cs"
"Assets/Scripts/KitchenObject.cs"
"Assets/Scripts/KitchenObjectSO.cs"
"Assets/Scripts/Player.cs"

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,10 +1,10 @@
{ "pid": 35942, "tid": -1, "ph": "M", "name": "process_name", "args": { "name": "netcorerun.dll" } },
{ "pid": 35942, "tid": -1, "ph": "M", "name": "process_sort_index", "args": { "sort_index": "-1" } },
{ "pid": 35942, "tid": 1, "ph": "M", "name": "thread_name", "args": { "name": "" } },
{ "pid": 35942, "tid": 1, "ts": 1675249864398304, "dur": 631194, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675249864399791, "dur": 81926, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675249864916025, "dur": 5291, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675249864921320, "dur": 108165, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675249864923467, "dur": 74988, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675249865038694, "dur": 1506, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675249865038060, "dur": 2388, "ph": "X", "name": "Write chrome-trace events", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675258781044121, "dur": 945489, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675258781045418, "dur": 138099, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675258781849269, "dur": 5578, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675258781854852, "dur": 134742, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675258781856855, "dur": 97933, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675258782002803, "dur": 2242, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675258782002057, "dur": 3333, "ph": "X", "name": "Write chrome-trace events", "args": {} },

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because one or more lines are too long

@ -5,16 +5,16 @@ m_ProjectFiles:
m_ContentTrackingEnabled: 1
m_ModificationDate:
serializedVersion: 2
ticks: 638107806410485316
m_Hash: 2662247958
ticks: 638108543461002092
m_Hash: 2935766893
m_LockFileStatus:
m_FilePath: G:/coding/unity/KitchenChaos/Packages/packages-lock.json
m_PathExists: 1
m_ContentTrackingEnabled: 1
m_ModificationDate:
serializedVersion: 2
ticks: 638107806410485316
m_Hash: 1071285574
ticks: 638108543461119284
m_Hash: 3469565621
m_EmbeddedPackageManifests:
m_ManifestsStatus: {}
m_LocalPackages:
@ -22,6 +22,72 @@ m_LocalPackages:
m_ProjectPath: G:/coding/unity/KitchenChaos/Packages
m_EditorVersion: 2023.1.0a26 (dcd63ccf73a0)
m_ResolvedPackages:
- packageId: com.unity.2d.sprite@1.0.0
testable: 0
isDirectDependency: 1
version: 1.0.0
source: 2
resolvedPath: G:\coding\unity\KitchenChaos\Library\PackageCache\com.unity.2d.sprite@1.0.0
assetPath: Packages/com.unity.2d.sprite
name: com.unity.2d.sprite
displayName: 2D Sprite
author:
name:
email:
url:
category: 2D
type:
description: Use Unity Sprite Editor Window to create and edit Sprite asset properties
like pivot, borders and Physics shape
status: 0
errors: []
versions:
all:
- 1.0.0
compatible:
- 1.0.0
recommended: 1.0.0
deprecated: []
dependencies: []
resolvedDependencies: []
keywords:
- 2d
- sprite
- sprite editor window
registry:
id: main
name:
url: https://packages.unity.com
scopes: []
isDefault: 1
capabilities: 7
configSource: 0
hideInEditor: 1
entitlements:
licensingModel: 0
isAssetStorePackage: 0
datePublishedTicks: 0
documentationUrl:
hasRepository: 0
repository:
type:
url:
revision:
path:
unityLifecycle:
version: 1.0.0
nextVersion:
recommendedVersion:
isDeprecated: 0
deprecationMessage:
isDeprecated: 0
deprecationMessage:
git:
hash:
revision:
upmReserved:
assetStore:
productId:
- packageId: com.unity.cinemachine@2.9.5
testable: 0
isDirectDependency: 1

@ -1 +1 @@
7c7b6fac6cdbbe7118c307f2ef19e766
bc986491a0ef6ef2c18a66ea1fc6ba6d

Binary file not shown.

@ -1 +1 @@
{"m_ScrollY":0.0,"m_ExpandedSceneGameObjectInstanceIDs":[-16788,-6812,-4836,-4734,-4724],"m_LastClickedInstanceID":-4828,"m_OpenSceneGUIDs":["99c9720ab356a0642a771bea13969a05"]}
{"m_ScrollY":0.0,"m_ExpandedSceneGameObjectInstanceIDs":[],"m_LastClickedInstanceID":0,"m_OpenSceneGUIDs":[]}

@ -1 +1 @@
{"m_ScrollY":0.0,"m_ExpandedPrefabGameObjectFileIDs":[160166231906081607,9003919026180124785],"m_LastClickedFileID":160166231906081607}
{"m_ScrollY":0.0,"m_ExpandedPrefabGameObjectFileIDs":[160166231906081607,9003919026180124785],"m_LastClickedFileID":0}

@ -1 +1 @@
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":false,"pivot":{"x":1.0721757411956788,"y":-0.42192554473876955,"z":2.1130170822143556},"rotation":{"x":0.3657377064228058,"y":-0.00139609316829592,"z":0.0005485991714522243,"w":0.9307171106338501},"size":3.610626220703125,"orthographic":false}
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"m_AlwaysRefresh":false,"showFog":true,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true,"showVisualEffectGraphs":true,"m_FxEnabled":true},"in2DMode":false,"pivot":{"x":-0.48926258087158205,"y":0.658411979675293,"z":-1.0529522895812989},"rotation":{"x":0.2612830698490143,"y":-0.530013382434845,"z":0.17589128017425538,"w":0.7873246669769287},"size":4.839141845703125,"orthographic":false}

@ -32,6 +32,7 @@ MonoBehaviour:
- __PanelContainer__rootVisualContainer__inspector-window-main-scroll-view__unity-list-m_SavedProperties.m_Floats__UnityEngine.UIElements.ListView
- __PanelContainer__rootVisualContainer__inspector-window-main-scroll-view__unity-list-m_SavedProperties.m_Colors__UnityEngine.UIElements.ListView
- __PanelContainer__rootVisualContainer__inspector-window-main-scroll-view__unity-list-m_BuildTextureStacks__UnityEngine.UIElements.ListView
- __PanelContainer__rootVisualContainer__inspector-window-main-scroll-view__unity-list-visualGameObjectArray__UnityEngine.UIElements.ListView
m_Values:
- '{}'
- '{}'
@ -42,13 +43,14 @@ MonoBehaviour:
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":22.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":0.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'

Binary file not shown.

@ -12,4 +12,4 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: bc3a27147f944790916176e2172ad506, type: 3}
m_Name:
m_EditorClassIdentifier:
lastWriteTicks: -8585263570238981818
lastWriteTicks: -8585263481064999644

@ -1,5 +1,6 @@
{
"dependencies": {
"com.unity.2d.sprite": "1.0.0",
"com.unity.cinemachine": "2.9.5",
"com.unity.collab-proxy": "1.17.7",
"com.unity.ide.rider": "3.0.18",

@ -1,5 +1,11 @@
{
"dependencies": {
"com.unity.2d.sprite": {
"version": "1.0.0",
"depth": 0,
"source": "builtin",
"dependencies": {}
},
"com.unity.burst": {
"version": "1.8.2",
"depth": 1,