auto code cleanup by rider

add arms to player
new animations for idle and walking
some light adjustments
master
DJh2o2 2023-02-03 12:31:44 +07:00
parent f28dfac4a7
commit b14d4a74f5
71 changed files with 11701 additions and 3746 deletions

@ -54,6 +54,7 @@
<Compile Include="Assets\Scripts\ScriptableObjects\BurningRecipeSO.cs" />
<Compile Include="Assets\Scripts\Counters\StoveCounter.cs" />
<Compile Include="Assets\Scripts\Counters\StoveCounterVisual.cs" />
<Compile Include="Assets\Scripts\Counters\PlatesCounterVisual.cs" />
<Compile Include="Assets\Scripts\IHasProgress.cs" />
<Compile Include="Assets\Scripts\PlayerInputActions.cs" />
<Compile Include="Assets\Scripts\LookAtCamera.cs" />
@ -65,6 +66,7 @@
<Compile Include="Assets\Scripts\ScriptableObjects\FryingRecipeSO.cs" />
<Compile Include="Assets\Scripts\Counters\CuttingCounter.cs" />
<Compile Include="Assets\Scripts\IKitchenObjectParent.cs" />
<Compile Include="Assets\Scripts\Counters\PlatesCounter.cs" />
<Compile Include="Assets\Scripts\GameInput.cs" />
<Compile Include="Assets\Scripts\KitchenObject.cs" />
<Compile Include="Assets\Scripts\Counters\CuttingCounterVisual.cs" />

@ -0,0 +1,403 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &255561601163356063
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 5601814591316704436}
m_Modifications:
- target: {fileID: 433585800057296854, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 867046696110709345, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 1a0afd856a35421469b28b916116fd9c, type: 2}
- target: {fileID: 4472461010448373620, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282922, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_Name
value: Selected
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalScale.x
value: 1.01
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalScale.y
value: 1.01
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalScale.z
value: 1.01
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects:
- {fileID: 433585800057296854, guid: e21b499d164095947b7559f0267f0e63, type: 3}
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 4589716710238282922, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
insertIndex: -1
addedObject: {fileID: 8305292503786409097}
m_SourcePrefab: {fileID: 100100000, guid: e21b499d164095947b7559f0267f0e63, type: 3}
--- !u!4 &4339812989839278900 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
m_PrefabInstance: {fileID: 255561601163356063}
m_PrefabAsset: {fileID: 0}
--- !u!1 &4339812989839278901 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4589716710238282922, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
m_PrefabInstance: {fileID: 255561601163356063}
m_PrefabAsset: {fileID: 0}
--- !u!114 &8305292503786409097
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4339812989839278901}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8b85903dace450642b90692dcac31e5f, type: 3}
m_Name:
m_EditorClassIdentifier:
baseCounter: {fileID: 6149191602313750023}
visualGameObjectArray:
- {fileID: 4439054428546085099}
--- !u!1 &4439054428546085099 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4472461010448373620, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
m_PrefabInstance: {fileID: 255561601163356063}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1382485272520623850
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 5601814591316704436}
m_Modifications:
- target: {fileID: 4209427294098384268, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalScale.x
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 4209427294098384268, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalScale.y
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 4209427294098384268, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalScale.z
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282922, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_Name
value: PlatesCounter_Visual
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7606527428084913573, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_Color.b
value: 0.8349486
objectReference: {fileID: 0}
- target: {fileID: 7606527428084913573, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_Color.g
value: 0.24056602
objectReference: {fileID: 0}
- target: {fileID: 7606527428084913573, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
propertyPath: m_Color.r
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 4589716710238282922, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
insertIndex: -1
addedObject: {fileID: 6955782007593168964}
m_SourcePrefab: {fileID: 100100000, guid: e21b499d164095947b7559f0267f0e63, type: 3}
--- !u!1 &3215112737149444672 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4589716710238282922, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
m_PrefabInstance: {fileID: 1382485272520623850}
m_PrefabAsset: {fileID: 0}
--- !u!114 &6955782007593168964
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3215112737149444672}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0cb3d96f99e08d4a8763ab3d9a342a9, type: 3}
m_Name:
m_EditorClassIdentifier:
platesCounter: {fileID: 6149191602313750023}
counterTopPoint: {fileID: 1837259964514268949}
plateVisualPrefab: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
--- !u!4 &3215112737149444673 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4589716710238282923, guid: e21b499d164095947b7559f0267f0e63,
type: 3}
m_PrefabInstance: {fileID: 1382485272520623850}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3341010752421754274
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: PlatesCounter
objectReference: {fileID: 0}
- target: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
propertyPath: m_RootOrder
value: -1
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: 3215112737149444673}
- targetCorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 4339812989839278900}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
insertIndex: -1
addedObject: {fileID: 6149191602313750023}
m_SourcePrefab: {fileID: 100100000, guid: baedeb81787a01d4d84373499280a841, type: 3}
--- !u!4 &1837259964514268949 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3972990330611991223, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 3341010752421754274}
m_PrefabAsset: {fileID: 0}
--- !u!1 &3198859503577444069 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 160166231906081607, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 3341010752421754274}
m_PrefabAsset: {fileID: 0}
--- !u!114 &6149191602313750023
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3198859503577444069}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 087b0f0f42cbf5541a19f1be77fb325f, type: 3}
m_Name:
m_EditorClassIdentifier:
counterTopPoint: {fileID: 1837259964514268949}
spawnPlateTimerMax: 4
platesSpawnedAmountMax: 4
plateKitchenObjectSO: {fileID: 11400000, guid: ae22a33de916036479453fdaf08141f5,
type: 2}
--- !u!4 &5601814591316704436 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7196755653897210134, guid: baedeb81787a01d4d84373499280a841,
type: 3}
m_PrefabInstance: {fileID: 3341010752421754274}
m_PrefabAsset: {fileID: 0}

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

@ -0,0 +1,127 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &7442270590279185670
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4552451234056415784}
- component: {fileID: 7783792117560408132}
m_Layer: 0
m_Name: Plate
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4552451234056415784
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7442270590279185670}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.13, y: 1.11, z: 2.81}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1587899386476239244}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7783792117560408132
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7442270590279185670}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 483b1e043b78cf84cb8e1825701f0996, type: 3}
m_Name:
m_EditorClassIdentifier:
kitchenObjectSo: {fileID: 11400000, guid: a47eee6552fccd54c9050a54cb34974b, type: 2}
--- !u!1001 &2513946609541353228
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 4552451234056415784}
m_Modifications:
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3812876574508226177, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
propertyPath: m_Name
value: Plate_Visual
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c0c9afd619b40914a8f625c0535e2284, type: 3}
--- !u!4 &1587899386476239244 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 3812876574508226176, guid: c0c9afd619b40914a8f625c0535e2284,
type: 3}
m_PrefabInstance: {fileID: 2513946609541353228}
m_PrefabAsset: {fileID: 0}

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

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.18028352, g: 0.22571376, b: 0.30692244, a: 1}
m_IndirectSpecularColor: {r: 0.18265118, g: 0.22560348, b: 0.29112068, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@ -138,7 +138,7 @@ PrefabInstance:
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
propertyPath: m_LocalPosition.x
value: 5.25
value: 3.75
objectReference: {fileID: 0}
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
@ -148,7 +148,7 @@ PrefabInstance:
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
propertyPath: m_LocalPosition.z
value: 3.5
value: 2.75
objectReference: {fileID: 0}
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
@ -221,7 +221,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: 6.77
value: 5.02
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -231,7 +231,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: -5.01
value: -6.26
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -300,7 +300,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: 3.77
value: 2.02
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -310,7 +310,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: -5.01
value: -6.26
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -352,6 +352,79 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c26051b8a012bd04bbf09f97015038fb, type: 3}
--- !u!1001 &297367671
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 298681376}
m_Modifications:
- target: {fileID: 3198859503577444069, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_Name
value: PlatesCounter
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_RootOrder
value: -1
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalPosition.x
value: 5.25
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.39999998
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 8df6b47059a3e0443a2270730177c081, type: 3}
--- !u!1 &298681375
GameObject:
m_ObjectHideFlags: 0
@ -385,19 +458,21 @@ Transform:
- {fileID: 878291537}
- {fileID: 1039623113}
- {fileID: 2018150650}
- {fileID: 788615152}
- {fileID: 744192459}
- {fileID: 788615152}
- {fileID: 1791205067}
- {fileID: 1069289003}
- {fileID: 1383476805}
- {fileID: 146049497}
- {fileID: 990588515}
- {fileID: 2039897930}
- {fileID: 1042104398}
- {fileID: 1393049814}
- {fileID: 731936158}
- {fileID: 1171451319}
- {fileID: 660814534}
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &330585543
GameObject:
@ -636,8 +711,85 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 9
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &357169938
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 298681376}
m_Modifications:
- target: {fileID: 142888201842882089, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_Name
value: ClearCounter.7
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_RootOrder
value: -1
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: 5.25
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: 1.25
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071091
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.70710456
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 7216603047413822278, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
insertIndex: -1
addedObject: {fileID: 705276828}
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c26051b8a012bd04bbf09f97015038fb, type: 3}
--- !u!1 &410087039
GameObject:
m_ObjectHideFlags: 0
@ -677,10 +829,10 @@ Light:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Strength: 0.7
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_NearPlane: 0.3
m_CullingMatrixOverride:
e00: 1
e01: 0
@ -711,7 +863,7 @@ Light:
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 5000
m_ColorTemperature: 3500
m_UseColorTemperature: 1
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
@ -725,14 +877,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 410087039}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalRotation: {x: 0.29766145, y: -0.36477736, z: -0.2101547, w: 0.8568373}
m_LocalPosition: {x: 0, y: 3, z: -5.44}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
m_LocalEulerAnglesHint: {x: 20.902, y: -53.424, z: -38.168}
--- !u!114 &410087042
MonoBehaviour:
m_ObjectHideFlags: 0
@ -755,7 +907,7 @@ MonoBehaviour:
m_ShadowRenderingLayers: 1
m_LightCookieSize: {x: 1, y: 1}
m_LightCookieOffset: {x: 0, y: 0}
m_SoftShadowQuality: 1
m_SoftShadowQuality: 0
--- !u!1 &436994264
GameObject:
m_ObjectHideFlags: 0
@ -860,7 +1012,7 @@ Transform:
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &468353644
PrefabInstance:
@ -878,7 +1030,7 @@ PrefabInstance:
- target: {fileID: 2173133772625610497, guid: e06d0884cb1f30e4f852b5c97b4b2c9a,
type: 3}
propertyPath: m_LocalPosition.x
value: 7
value: 5.25
objectReference: {fileID: 0}
- target: {fileID: 2173133772625610497, guid: e06d0884cb1f30e4f852b5c97b4b2c9a,
type: 3}
@ -888,7 +1040,7 @@ PrefabInstance:
- target: {fileID: 2173133772625610497, guid: e06d0884cb1f30e4f852b5c97b4b2c9a,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.49999997
value: -2
objectReference: {fileID: 0}
- target: {fileID: 2173133772625610497, guid: e06d0884cb1f30e4f852b5c97b4b2c9a,
type: 3}
@ -979,16 +1131,16 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 560069076}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -1}
m_LocalRotation: {x: 0, y: -1, z: 0, w: 0}
m_LocalPosition: {x: 0.07117307, y: 0, z: -0.98241496}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1359835153}
- {fileID: 1217944358}
m_Father: {fileID: 0}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: -180, z: 0}
--- !u!1001 &579333480
PrefabInstance:
m_ObjectHideFlags: 0
@ -1010,7 +1162,7 @@ PrefabInstance:
- target: {fileID: 6473600628933198866, guid: d45ea66d6388ca34098dde0bb0876036,
type: 3}
propertyPath: m_LocalPosition.x
value: -0.73
value: -2.23
objectReference: {fileID: 0}
- target: {fileID: 6473600628933198866, guid: d45ea66d6388ca34098dde0bb0876036,
type: 3}
@ -1020,7 +1172,7 @@ PrefabInstance:
- target: {fileID: 6473600628933198866, guid: d45ea66d6388ca34098dde0bb0876036,
type: 3}
propertyPath: m_LocalPosition.z
value: 3.5
value: 2.75
objectReference: {fileID: 0}
- target: {fileID: 6473600628933198866, guid: d45ea66d6388ca34098dde0bb0876036,
type: 3}
@ -1057,6 +1209,12 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6567425215534265440, guid: d45ea66d6388ca34098dde0bb0876036,
type: 3}
propertyPath: kitchenObjectSO
value:
objectReference: {fileID: 11400000, guid: 131b4791be7256c4a8011c6dfeca8eed,
type: 2}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@ -1152,6 +1310,12 @@ PrefabInstance:
propertyPath: m_Name
value: ContainerCounter_MeatPattyUncooked
objectReference: {fileID: 0}
- target: {fileID: 5207939805716229589, guid: e70469a8018e90e4c81bbc376da9aa8a,
type: 3}
propertyPath: kitchenObjectSO
value:
objectReference: {fileID: 11400000, guid: 25ee8154e2411de4190226df7d8b420b,
type: 2}
- target: {fileID: 5383110661658566055, guid: e70469a8018e90e4c81bbc376da9aa8a,
type: 3}
propertyPath: m_RootOrder
@ -1160,7 +1324,7 @@ PrefabInstance:
- target: {fileID: 5383110661658566055, guid: e70469a8018e90e4c81bbc376da9aa8a,
type: 3}
propertyPath: m_LocalPosition.x
value: 2.27
value: 0.77
objectReference: {fileID: 0}
- target: {fileID: 5383110661658566055, guid: e70469a8018e90e4c81bbc376da9aa8a,
type: 3}
@ -1170,7 +1334,7 @@ PrefabInstance:
- target: {fileID: 5383110661658566055, guid: e70469a8018e90e4c81bbc376da9aa8a,
type: 3}
propertyPath: m_LocalPosition.z
value: 3.5
value: 2.75
objectReference: {fileID: 0}
- target: {fileID: 5383110661658566055, guid: e70469a8018e90e4c81bbc376da9aa8a,
type: 3}
@ -1306,13 +1470,102 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!4 &660814534 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5601814591316704436, guid: 8df6b47059a3e0443a2270730177c081,
type: 3}
m_PrefabInstance: {fileID: 297367671}
m_PrefabAsset: {fileID: 0}
--- !u!1 &705276827
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 705276828}
- component: {fileID: 705276830}
- component: {fileID: 705276829}
m_Layer: 0
m_Name: KitchenCounter.1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &705276828
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705276827}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1.4999999, y: 0, z: 0.000009417534}
m_LocalScale: {x: 1.65, y: 1.5, z: 1.65}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1326867129}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &705276829
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705276827}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 592705374249410987, guid: e3d496c6436b0cf4a8eef3d8865e8639, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &705276830
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705276827}
m_Mesh: {fileID: -4134462517785884784, guid: e3d496c6436b0cf4a8eef3d8865e8639, type: 3}
--- !u!1001 &731936157
PrefabInstance:
m_ObjectHideFlags: 0
@ -1329,7 +1582,7 @@ PrefabInstance:
- target: {fileID: 2837726518819377761, guid: 149cbe5c11a0b2b44ab919506ad00022,
type: 3}
propertyPath: m_LocalPosition.x
value: 6.83
value: 5.08
objectReference: {fileID: 0}
- target: {fileID: 2837726518819377761, guid: 149cbe5c11a0b2b44ab919506ad00022,
type: 3}
@ -1339,7 +1592,7 @@ PrefabInstance:
- target: {fileID: 2837726518819377761, guid: 149cbe5c11a0b2b44ab919506ad00022,
type: 3}
propertyPath: m_LocalPosition.z
value: -2.0237885
value: -3.2737885
objectReference: {fileID: 0}
- target: {fileID: 2837726518819377761, guid: 149cbe5c11a0b2b44ab919506ad00022,
type: 3}
@ -1408,7 +1661,7 @@ PrefabInstance:
- target: {fileID: 65990485384913860, guid: 25472cd3443abcc4bb2d44ef6d61949b,
type: 3}
propertyPath: m_LocalPosition.x
value: -2.23
value: -3.73
objectReference: {fileID: 0}
- target: {fileID: 65990485384913860, guid: 25472cd3443abcc4bb2d44ef6d61949b,
type: 3}
@ -1418,7 +1671,7 @@ PrefabInstance:
- target: {fileID: 65990485384913860, guid: 25472cd3443abcc4bb2d44ef6d61949b,
type: 3}
propertyPath: m_LocalPosition.z
value: 3.5
value: 2.75
objectReference: {fileID: 0}
- target: {fileID: 65990485384913860, guid: 25472cd3443abcc4bb2d44ef6d61949b,
type: 3}
@ -1455,6 +1708,12 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 151018978813121462, guid: 25472cd3443abcc4bb2d44ef6d61949b,
type: 3}
propertyPath: kitchenObjectSO
value:
objectReference: {fileID: 11400000, guid: a47eee6552fccd54c9050a54cb34974b,
type: 2}
- target: {fileID: 7004069985571697045, guid: 25472cd3443abcc4bb2d44ef6d61949b,
type: 3}
propertyPath: m_Name
@ -1507,7 +1766,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &744192459 stripped
Transform:
@ -1531,7 +1790,7 @@ PrefabInstance:
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.75
value: -1
objectReference: {fileID: 0}
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
@ -1541,7 +1800,7 @@ PrefabInstance:
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
propertyPath: m_LocalPosition.z
value: -5
value: -6.25
objectReference: {fileID: 0}
- target: {fileID: 1912024084548806161, guid: 2249e84ee3d06014caa24d4a3a8eda84,
type: 3}
@ -1614,7 +1873,7 @@ PrefabInstance:
- target: {fileID: 5884934783489300401, guid: 0dd905a0720230146a62cae740950871,
type: 3}
propertyPath: m_LocalPosition.x
value: 3.77
value: 2.27
objectReference: {fileID: 0}
- target: {fileID: 5884934783489300401, guid: 0dd905a0720230146a62cae740950871,
type: 3}
@ -1624,7 +1883,7 @@ PrefabInstance:
- target: {fileID: 5884934783489300401, guid: 0dd905a0720230146a62cae740950871,
type: 3}
propertyPath: m_LocalPosition.z
value: 3.5
value: 2.75
objectReference: {fileID: 0}
- target: {fileID: 5884934783489300401, guid: 0dd905a0720230146a62cae740950871,
type: 3}
@ -1661,6 +1920,12 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6005983347819128771, guid: 0dd905a0720230146a62cae740950871,
type: 3}
propertyPath: kitchenObjectSO
value:
objectReference: {fileID: 11400000, guid: 441c7986de4390946ad3e8ebc6b9f03e,
type: 2}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@ -1832,7 +2097,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &859183078
PrefabInstance:
@ -1860,7 +2125,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: -0.73
value: -2.48
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -1870,7 +2135,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: -5
value: -6.25
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -1925,6 +2190,12 @@ PrefabInstance:
propertyPath: m_Name
value: ContainerCounter_Tomato
objectReference: {fileID: 0}
- target: {fileID: 4748871933339654383, guid: 10b9c575c7fce7340afa7b6f390ae1a6,
type: 3}
propertyPath: kitchenObjectSO
value:
objectReference: {fileID: 11400000, guid: 85a2a73f76ad0af458de1ea0f8aee734,
type: 2}
- target: {fileID: 4833935620837189789, guid: 10b9c575c7fce7340afa7b6f390ae1a6,
type: 3}
propertyPath: m_RootOrder
@ -1933,7 +2204,7 @@ PrefabInstance:
- target: {fileID: 4833935620837189789, guid: 10b9c575c7fce7340afa7b6f390ae1a6,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.77
value: -0.73
objectReference: {fileID: 0}
- target: {fileID: 4833935620837189789, guid: 10b9c575c7fce7340afa7b6f390ae1a6,
type: 3}
@ -1943,7 +2214,7 @@ PrefabInstance:
- target: {fileID: 4833935620837189789, guid: 10b9c575c7fce7340afa7b6f390ae1a6,
type: 3}
propertyPath: m_LocalPosition.z
value: 3.5
value: 2.75
objectReference: {fileID: 0}
- target: {fileID: 4833935620837189789, guid: 10b9c575c7fce7340afa7b6f390ae1a6,
type: 3}
@ -2012,7 +2283,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: 6.77
value: 5.0238705
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2022,27 +2293,27 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: -3.5100002
value: -4.7561293
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
value: 0.7071091
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
value: -0.70710456
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2052,7 +2323,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
value: -90
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2091,7 +2362,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: 2.27
value: 0.52
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2101,7 +2372,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: -5.01
value: -6.26
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2187,7 +2458,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: -2.23
value: -3.98
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2197,7 +2468,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: -5
value: -6.25
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2288,6 +2559,12 @@ Transform:
m_Father: {fileID: 560069078}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &1326867129 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7216603047413822278, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
m_PrefabInstance: {fileID: 357169938}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1359835152 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3294758251327466535, guid: 1c5dda3c7cd3cf742afcade5419faeab,
@ -2334,7 +2611,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.x
value: 5.27
value: 3.52
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2344,7 +2621,7 @@ PrefabInstance:
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
propertyPath: m_LocalPosition.z
value: -5.01
value: -6.26
objectReference: {fileID: 0}
- target: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
@ -2482,3 +2759,127 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 737450882}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2034559956
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2034559959}
- component: {fileID: 2034559958}
- component: {fileID: 2034559957}
m_Layer: 0
m_Name: Spot Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &2034559957
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2034559956}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Version: 3
m_UsePipelineSettings: 1
m_AdditionalLightsShadowResolutionTier: 2
m_LightLayerMask: 1
m_RenderingLayers: 1
m_CustomShadowLayers: 0
m_ShadowLayerMask: 1
m_ShadowRenderingLayers: 1
m_LightCookieSize: {x: 1, y: 1}
m_LightCookieOffset: {x: 0, y: 0}
m_SoftShadowQuality: 0
--- !u!108 &2034559958
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2034559956}
m_Enabled: 1
serializedVersion: 10
m_Type: 2
m_Shape: 0
m_Color: {r: 0.12958637, g: 0.9811321, b: 0, a: 1}
m_Intensity: 2
m_Range: 5
m_SpotAngle: 60
m_InnerSpotAngle: 10
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!4 &2034559959
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2034559956}
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 5.15, y: 2.77, z: 1.19}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!4 &2039897930 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 6927276635257693304, guid: c26051b8a012bd04bbf09f97015038fb,
type: 3}
m_PrefabInstance: {fileID: 357169938}
m_PrefabAsset: {fileID: 0}

@ -0,0 +1,17 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 91b8562817e5ffd4f934c25179d29275, type: 3}
m_Name: Plate
m_EditorClassIdentifier:
prefab: {fileID: 4552451234056415784, guid: 756828685605b994db3699a236736a1f, type: 3}
sprite: {fileID: 21300000, guid: 3928afb5321bb3d489bbd4ac581b29a2, type: 3}
objectName: Plate

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ae22a33de916036479453fdaf08141f5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

@ -1,18 +1,36 @@
using UnityEngine;
namespace Counters
{
public class BaseCounter : MonoBehaviour, IKitchenObjectParent
{
[SerializeField] private Transform counterTopPoint;
private KitchenObject kitchenObject;
public virtual void Interact(Player player) => Debug.LogError("Something went wrong, Interaction with BaseCounter");
public virtual void InteractAlternate(Player player) => Debug.LogError("Something went wrong, Interaction with BaseCounter");
public Transform GetKitchenObjectHoldPoint() => counterTopPoint;
public void SetKitchenObject(KitchenObject kO) => kitchenObject = kO;
public KitchenObject GetKitchenObject() => kitchenObject;
public void ClearKitchenObject() => kitchenObject = null;
public bool HasKitchenObject() => kitchenObject != null;
}
}
namespace Counters {
public class BaseCounter : MonoBehaviour, IKitchenObjectParent {
[SerializeField] private Transform counterTopPoint;
private KitchenObject kitchenObject;
public Transform GetKitchenObjectHoldPoint() {
return counterTopPoint;
}
public void SetKitchenObject(KitchenObject kO) {
kitchenObject = kO;
}
public KitchenObject GetKitchenObject() {
return kitchenObject;
}
public void ClearKitchenObject() {
kitchenObject = null;
}
public bool HasKitchenObject() {
return kitchenObject is not null;
}
public virtual void Interact(Player player) {
Debug.LogError("Something went wrong, Interaction with BaseCounter");
}
public virtual void InteractAlternate(Player player) {
Debug.LogError("Something went wrong, Interaction with BaseCounter");
}
}
}

@ -1,43 +1,33 @@
using ScriptableObjects;
using UnityEngine;
namespace Counters
{
public class ClearCounter : BaseCounter
{
[SerializeField] private KitchenObjectSO kitchenObjectSo;
namespace Counters {
public class ClearCounter : BaseCounter {
[SerializeField] private KitchenObjectSO kitchenObjectSo;
public override void Interact(Player player)
{
if (!HasKitchenObject())
{
Debug.Log("There is no KitchenObject here");
if (player.HasKitchenObject())
{
Debug.Log("Player is putting KitchenObject to ClearCounter");
player.GetKitchenObject().SetKitchenObjectParent(this);
player.ClearKitchenObject();
}
else
{
Debug.Log("Player not carrying anything");
}
}
else
{
Debug.Log("There is a KitchenObject");
if (player.HasKitchenObject())
{
Debug.Log("Player is carrying something");
}
else
{
Debug.Log("Player is taking KitchenObject from ClearCounter");
GetKitchenObject().SetKitchenObjectParent(player);
ClearKitchenObject();
}
}
}
}
}
public override void Interact(Player player) {
if (!HasKitchenObject()) {
Debug.Log("There is no KitchenObject here");
if (player.HasKitchenObject()) {
Debug.Log("Player is putting KitchenObject to ClearCounter");
player.GetKitchenObject().SetKitchenObjectParent(this);
player.ClearKitchenObject();
}
else {
Debug.Log("Player not carrying anything");
}
}
else {
Debug.Log("There is a KitchenObject");
if (player.HasKitchenObject()) {
Debug.Log("Player is carrying something");
}
else {
Debug.Log("Player is taking KitchenObject from ClearCounter");
GetKitchenObject().SetKitchenObjectParent(player);
ClearKitchenObject();
}
}
}
}
}

@ -2,30 +2,23 @@ using System;
using ScriptableObjects;
using UnityEngine;
namespace Counters
{
public class ContainerCounter : BaseCounter
{
public event EventHandler OnPlayerGrabbedObject;
[SerializeField] private KitchenObjectSO kitchenObjectSo;
public override void Interact(Player player)
{
if (!HasKitchenObject())
{
// Debug.Log("ContainerCounter has no KitchenObject");
if (!player.HasKitchenObject())
{
Debug.Log("Player is taking a KitchenObject from the ContainerCounter");
KitchenObject.SpawnKitchenObject(kitchenObjectSo, player);
OnPlayerGrabbedObject?.Invoke(this, EventArgs.Empty);
}
else
{
Debug.Log("Player has already something in the hand");
}
}
}
namespace Counters {
public class ContainerCounter : BaseCounter {
[SerializeField] private KitchenObjectSO kitchenObjectSO;
public event EventHandler OnPlayerGrabbedObject;
}
}
public override void Interact(Player player) {
if (!HasKitchenObject()) {
// Debug.Log("ContainerCounter has no KitchenObject");
if (!player.HasKitchenObject()) {
Debug.Log("Player is taking a KitchenObject from the ContainerCounter");
KitchenObject.SpawnKitchenObject(kitchenObjectSO, player);
OnPlayerGrabbedObject?.Invoke(this, EventArgs.Empty);
}
else {
Debug.Log("Player has already something in the hand");
}
}
}
}
}

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

@ -3,110 +3,92 @@ using System.Linq;
using ScriptableObjects;
using UnityEngine;
namespace Counters
{
public class CuttingCounter : BaseCounter, IHasProgress
{
public event EventHandler<IHasProgress.OnProgressChangedEventArgs> OnProgressChanged;
namespace Counters {
public class CuttingCounter : BaseCounter, IHasProgress {
[SerializeField] private CuttingRecipeSO[] cuttingRecipeSOArray;
private int cuttingProgress;
public event EventHandler<IHasProgress.OnProgressChangedEventArgs> OnProgressChanged;
public event EventHandler OnCut;
[SerializeField] private CuttingRecipeSO[] cuttingRecipeSOArray;
private int cuttingProgress;
public override void Interact(Player player)
{
if (!HasKitchenObject())
{
Debug.Log("There is no KitchenObject here");
if (player.HasKitchenObject())
{
if (HasRecipeWithInput(player.GetKitchenObject().GetKitchenObjectSO()))
{
Debug.Log("Player is putting KitchenObject to ClearCounter");
player.GetKitchenObject().SetKitchenObjectParent(this);
player.ClearKitchenObject();
cuttingProgress = 0;
CuttingRecipeSO cuttingRecipeSO = GetCuttingRecipeSOWithInput(GetKitchenObject().GetKitchenObjectSO());
OnProgressChanged?.Invoke(this, new()
{
ProgressNormalized = (float)cuttingProgress / cuttingRecipeSO.cuttingProgressMax
});
}
else
{
Debug.Log("KitchenObject is not cuttable!");
}
}
else
{
Debug.Log("Player not carrying anything!");
}
}
else
{
Debug.Log("There is a KitchenObject");
if (player.HasKitchenObject())
{
Debug.Log("Player is carrying something!");
}
else
{
Debug.Log("Player is taking KitchenObject from ClearCounter");
GetKitchenObject().SetKitchenObjectParent(player);
ClearKitchenObject();
}
}
}
public event EventHandler OnCut;
public override void InteractAlternate(Player player)
{
if (HasKitchenObject())
{
KitchenObjectSO currentOnCounterKitchenObjectSO = GetKitchenObject().GetKitchenObjectSO();
Debug.Log("There is a KitchenObject on the CuttingCounter");
if (HasRecipeWithInput(currentOnCounterKitchenObjectSO))
{
Debug.Log("Cutting the KitchenObject...");
cuttingProgress++;
OnCut?.Invoke(this, EventArgs.Empty);
CuttingRecipeSO cuttingRecipeSO = GetCuttingRecipeSOWithInput(currentOnCounterKitchenObjectSO);
OnProgressChanged?.Invoke(this, new()
{
ProgressNormalized = (float)cuttingProgress / cuttingRecipeSO.cuttingProgressMax
});
if (cuttingProgress >= cuttingRecipeSO.cuttingProgressMax)
{
Debug.Log("The KitchenObject completly sliced.");
KitchenObjectSO outputKitchenObjectSO = GetOutputForInput(currentOnCounterKitchenObjectSO);
GetKitchenObject().DestroySelf();
KitchenObject.SpawnKitchenObject(outputKitchenObjectSO, this);
}
else
{
Debug.Log($"The KitchenObject is more cuttable {cuttingProgress}/{cuttingRecipeSO.cuttingProgressMax}");
}
}
else
{
Debug.Log("The KitchenObject is no more sliceable!");
}
}
else
{
Debug.Log("There is nothing to cut!");
}
}
public override void Interact(Player player) {
if (!HasKitchenObject()) {
Debug.Log("There is no KitchenObject here");
if (player.HasKitchenObject()) {
if (HasRecipeWithInput(player.GetKitchenObject().GetKitchenObjectSO())) {
Debug.Log("Player is putting KitchenObject to ClearCounter");
player.GetKitchenObject().SetKitchenObjectParent(this);
player.ClearKitchenObject();
private bool HasRecipeWithInput(KitchenObjectSO inputKitchenObjectSO) => GetCuttingRecipeSOWithInput(inputKitchenObjectSO);
cuttingProgress = 0;
CuttingRecipeSO cuttingRecipeSO = GetCuttingRecipeSOWithInput(GetKitchenObject().GetKitchenObjectSO());
OnProgressChanged?.Invoke(this, new() {
ProgressNormalized = (float)cuttingProgress / cuttingRecipeSO.cuttingProgressMax
});
}
else {
Debug.Log("KitchenObject is not cuttable!");
}
}
else {
Debug.Log("Player not carrying anything!");
}
}
else {
Debug.Log("There is a KitchenObject");
if (player.HasKitchenObject()) {
Debug.Log("Player is carrying something!");
}
else {
Debug.Log("Player is taking KitchenObject from ClearCounter");
GetKitchenObject().SetKitchenObjectParent(player);
ClearKitchenObject();
}
}
}
private KitchenObjectSO GetOutputForInput(KitchenObjectSO inputKitchenObjectSO)
{
CuttingRecipeSO cuttingRecipeSO = GetCuttingRecipeSOWithInput(inputKitchenObjectSO);
return cuttingRecipeSO ? cuttingRecipeSO.output : null;
}
public override void InteractAlternate(Player player) {
if (HasKitchenObject()) {
KitchenObjectSO currentOnCounterKitchenObjectSO = GetKitchenObject().GetKitchenObjectSO();
Debug.Log("There is a KitchenObject on the CuttingCounter");
if (HasRecipeWithInput(currentOnCounterKitchenObjectSO)) {
Debug.Log("Cutting the KitchenObject...");
cuttingProgress++;
OnCut?.Invoke(this, EventArgs.Empty);
CuttingRecipeSO cuttingRecipeSO = GetCuttingRecipeSOWithInput(currentOnCounterKitchenObjectSO);
OnProgressChanged?.Invoke(this, new() {
ProgressNormalized = (float)cuttingProgress / cuttingRecipeSO.cuttingProgressMax
});
if (cuttingProgress >= cuttingRecipeSO.cuttingProgressMax) {
Debug.Log("The KitchenObject completly sliced.");
KitchenObjectSO outputKitchenObjectSO = GetOutputForInput(currentOnCounterKitchenObjectSO);
GetKitchenObject().DestroySelf();
KitchenObject.SpawnKitchenObject(outputKitchenObjectSO, this);
}
else {
Debug.Log($"The KitchenObject is more cuttable {cuttingProgress}/{cuttingRecipeSO.cuttingProgressMax}");
}
}
else {
Debug.Log("The KitchenObject is no more sliceable!");
}
}
else {
Debug.Log("There is nothing to cut!");
}
}
private CuttingRecipeSO GetCuttingRecipeSOWithInput(KitchenObjectSO inputKitchenObjectSO) =>
cuttingRecipeSOArray.FirstOrDefault(cuttingRecipeSO => cuttingRecipeSO.input == inputKitchenObjectSO);
}
}
private bool HasRecipeWithInput(KitchenObjectSO inputKitchenObjectSO) {
return GetCuttingRecipeSOWithInput(inputKitchenObjectSO);
}
private KitchenObjectSO GetOutputForInput(KitchenObjectSO inputKitchenObjectSO) {
CuttingRecipeSO cuttingRecipeSO = GetCuttingRecipeSOWithInput(inputKitchenObjectSO);
return cuttingRecipeSO ? cuttingRecipeSO.output : null;
}
private CuttingRecipeSO GetCuttingRecipeSOWithInput(KitchenObjectSO inputKitchenObjectSO) {
return cuttingRecipeSOArray.FirstOrDefault(cuttingRecipeSO => cuttingRecipeSO.input == inputKitchenObjectSO);
}
}
}

@ -1,18 +1,22 @@
using System;
using UnityEngine;
namespace Counters
{
public class CuttingCounterVisual : MonoBehaviour
{
[SerializeField] private CuttingCounter cuttingCounter;
private Animator animator;
private static readonly int cut = Animator.StringToHash("Cut");
namespace Counters {
public class CuttingCounterVisual : MonoBehaviour {
private static readonly int cut = Animator.StringToHash("Cut");
[SerializeField] private CuttingCounter cuttingCounter;
private Animator animator;
private void Awake() => animator = GetComponent<Animator>();
private void Awake() {
animator = GetComponent<Animator>();
}
private void Start() => cuttingCounter.OnCut += CuttingCounbter_OnCut;
private void Start() {
cuttingCounter.OnCut += CuttingCounbter_OnCut;
}
private void CuttingCounbter_OnCut(object sender, EventArgs e) => animator.SetTrigger(cut);
}
}
private void CuttingCounbter_OnCut(object sender, EventArgs e) {
animator.SetTrigger(cut);
}
}
}

@ -0,0 +1,39 @@
using System;
using ScriptableObjects;
using UnityEngine;
namespace Counters {
public class PlatesCounter : BaseCounter {
[SerializeField] private float spawnPlateTimerMax = 3f;
[SerializeField] private int platesSpawnedAmountMax = 5;
[SerializeField] private KitchenObjectSO plateKitchenObjectSO;
private int platesSpawnedAmount;
private float spawnPlateTimer;
private void Update() {
spawnPlateTimer += Time.deltaTime;
if (spawnPlateTimer > spawnPlateTimerMax) {
spawnPlateTimer = 0f;
if (platesSpawnedAmount < platesSpawnedAmountMax) {
platesSpawnedAmount++;
Debug.Log($"Spawning another plate {platesSpawnedAmount}/{platesSpawnedAmountMax}");
OnPlateSpawned?.Invoke(this, EventArgs.Empty);
}
}
}
public event EventHandler OnPlateSpawned;
public event EventHandler OnPlateRemoved;
public override void Interact(Player player) {
if (!player.HasKitchenObject())
// Player is empty handed
if (platesSpawnedAmount > 0) {
// There is at least one plate here
platesSpawnedAmount--;
KitchenObject.SpawnKitchenObject(plateKitchenObjectSO, player);
OnPlateRemoved?.Invoke(this, EventArgs.Empty);
}
}
}
}

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

@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Counters {
public class PlatesCounterVisual : MonoBehaviour {
[SerializeField] private PlatesCounter platesCounter;
[SerializeField] private Transform counterTopPoint;
[SerializeField] private Transform plateVisualPrefab;
private List<GameObject> plateVisualGameObjectList;
private void Awake() {
plateVisualGameObjectList = new();
}
private void Start() {
platesCounter.OnPlateSpawned += PlatesCounter_OnPlateSpawned;
platesCounter.OnPlateRemoved += PlatesCounter_OnPlateRemoved;
}
private void PlatesCounter_OnPlateRemoved(object sender, EventArgs e) {
GameObject plateGameObject = plateVisualGameObjectList[^1];
plateVisualGameObjectList.Remove(plateGameObject);
Destroy(plateGameObject);
}
private void PlatesCounter_OnPlateSpawned(object sender, EventArgs e) {
Transform plateVisualTransform = Instantiate(plateVisualPrefab, counterTopPoint);
const float plateOffsetY = .1f;
plateVisualTransform.localPosition = new(0, plateOffsetY * plateVisualGameObjectList.Count, 0);
plateVisualGameObjectList.Add(plateVisualTransform.gameObject);
}
}
}

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

@ -1,146 +1,136 @@
using System;
using System.Collections;
using System.Linq;
using ScriptableObjects;
using UnityEngine;
namespace Counters
{
public class StoveCounter : BaseCounter, IHasProgress
{
public event EventHandler<IHasProgress.OnProgressChangedEventArgs> OnProgressChanged;
public event EventHandler<OnStateChangedEventArgs> OnStateChanged;
public class OnStateChangedEventArgs : EventArgs
{
public State state;
}
public enum State
{
Idle,
Frying,
Fried,
Burned,
}
[SerializeField] private FryingRecipeSO[] fryingRecipeSOArray;
[SerializeField] private BurningRecipeSO[] burningRecipeSOArray;
private State state;
private float fryingTimer;
private float burningTimer;
private FryingRecipeSO fryingRecipeSO;
private BurningRecipeSO burningRecipeSO;
private void Start() => SetState(State.Idle);
private void Update()
{
if (HasKitchenObject())
{
switch (state)
{
case State.Idle:
break;
case State.Frying:
fryingTimer += Time.deltaTime;
SetProgress(fryingTimer/fryingRecipeSO.fryingTimerMax);
if (fryingTimer > fryingRecipeSO.fryingTimerMax)
{
GetKitchenObject().DestroySelf();
KitchenObject.SpawnKitchenObject(fryingRecipeSO.output, this);
Debug.Log("Object fried");
SetState(State.Fried);
burningTimer = 0f;
burningRecipeSO = GetBurningRecipeSOWithInput(GetKitchenObject().GetKitchenObjectSO());
}
break;
case State.Fried:
burningTimer += Time.deltaTime;
SetProgress(burningTimer / burningRecipeSO.burningTimerMax);
if (burningTimer > burningRecipeSO.burningTimerMax)
{
GetKitchenObject().DestroySelf();
KitchenObject.SpawnKitchenObject(burningRecipeSO.output, this);
Debug.Log("Object burned");
SetState(State.Burned);
SetProgress(0f);
}
break;
case State.Burned:
break;
}
}
}
private void SetState(State newState)
{
state = newState;
OnStateChanged?.Invoke(this, new() { state = newState });
}
private void SetProgress(float progress) =>
OnProgressChanged?.Invoke(this, new() { ProgressNormalized = progress });
public override void Interact(Player player)
{
if (!HasKitchenObject())
{
Debug.Log("There is no KitchenObject here");
if (player.HasKitchenObject())
{
if (HasRecipeWithInput(player.GetKitchenObject().GetKitchenObjectSO()))
{
Debug.Log("Player is putting KitchenObject to StoveCounter");
player.GetKitchenObject().SetKitchenObjectParent(this);
player.ClearKitchenObject();
fryingRecipeSO = GetFryingRecipeSOWithInput(GetKitchenObject().GetKitchenObjectSO());
SetState(State.Frying);
fryingTimer = 0f;
}
else
{
Debug.Log("KitchenObject is not fryable!");
}
}
else
{
Debug.Log("Player not carrying anything!");
}
}
else
{
Debug.Log("There is a KitchenObject");
if (player.HasKitchenObject())
{
Debug.Log("Player is carrying something!");
}
else
{
Debug.Log("Player is taking KitchenObject from ClearCounter");
GetKitchenObject().SetKitchenObjectParent(player);
ClearKitchenObject();
SetState(State.Idle);
SetProgress(0f);
}
}
}
public override void InteractAlternate(Player player) => Debug.Log("Nothing alternate to do here!");
private bool HasRecipeWithInput(KitchenObjectSO inputKitchenObjectSO) => GetFryingRecipeSOWithInput(inputKitchenObjectSO);
private KitchenObjectSO GetOutputForInput(KitchenObjectSO inputKitchenObjectSO)
{
FryingRecipeSO fryingRecipeSO = GetFryingRecipeSOWithInput(inputKitchenObjectSO);
return fryingRecipeSO ? fryingRecipeSO.output : null;
}
private FryingRecipeSO GetFryingRecipeSOWithInput(KitchenObjectSO inputKitchenObjectSO) =>
fryingRecipeSOArray.FirstOrDefault(fryingRecipeSO => fryingRecipeSO.input == inputKitchenObjectSO);
private BurningRecipeSO GetBurningRecipeSOWithInput(KitchenObjectSO inputKitchenObjectSO) =>
burningRecipeSOArray.FirstOrDefault(burningRecipeSO => burningRecipeSO.input == inputKitchenObjectSO);
}
}
namespace Counters {
public class StoveCounter : BaseCounter, IHasProgress {
public enum State {
Idle,
Frying,
Fried,
Burned
}
[SerializeField] private FryingRecipeSO[] fryingRecipeSOArray;
[SerializeField] private BurningRecipeSO[] burningRecipeSOArray;
private BurningRecipeSO burningRecipeSO;
private float burningTimer;
private FryingRecipeSO fryingRecipeSO;
private float fryingTimer;
private State state;
private void Start() {
SetState(State.Idle);
}
private void Update() {
if (HasKitchenObject())
switch (state) {
case State.Idle:
break;
case State.Frying:
fryingTimer += Time.deltaTime;
SetProgress(fryingTimer / fryingRecipeSO.fryingTimerMax);
if (fryingTimer > fryingRecipeSO.fryingTimerMax) {
GetKitchenObject().DestroySelf();
KitchenObject.SpawnKitchenObject(fryingRecipeSO.output, this);
Debug.Log("Object fried");
SetState(State.Fried);
burningTimer = 0f;
burningRecipeSO = GetBurningRecipeSOWithInput(GetKitchenObject().GetKitchenObjectSO());
}
break;
case State.Fried:
burningTimer += Time.deltaTime;
SetProgress(burningTimer / burningRecipeSO.burningTimerMax);
if (burningTimer > burningRecipeSO.burningTimerMax) {
GetKitchenObject().DestroySelf();
KitchenObject.SpawnKitchenObject(burningRecipeSO.output, this);
Debug.Log("Object burned");
SetState(State.Burned);
SetProgress(0f);
}
break;
case State.Burned:
break;
}
}
public event EventHandler<IHasProgress.OnProgressChangedEventArgs> OnProgressChanged;
public event EventHandler<OnStateChangedEventArgs> OnStateChanged;
private void SetState(State newState) {
state = newState;
OnStateChanged?.Invoke(this, new() { State = newState });
}
private void SetProgress(float progress) {
OnProgressChanged?.Invoke(this, new() { ProgressNormalized = progress });
}
public override void Interact(Player player) {
if (!HasKitchenObject()) {
Debug.Log("There is no KitchenObject here");
if (player.HasKitchenObject()) {
if (HasRecipeWithInput(player.GetKitchenObject().GetKitchenObjectSO())) {
Debug.Log("Player is putting KitchenObject to StoveCounter");
player.GetKitchenObject().SetKitchenObjectParent(this);
player.ClearKitchenObject();
fryingRecipeSO = GetFryingRecipeSOWithInput(GetKitchenObject().GetKitchenObjectSO());
SetState(State.Frying);
fryingTimer = 0f;
}
else {
Debug.Log("KitchenObject is not fryable!");
}
}
else {
Debug.Log("Player not carrying anything!");
}
}
else {
Debug.Log("There is a KitchenObject");
if (player.HasKitchenObject()) {
Debug.Log("Player is carrying something!");
}
else {
Debug.Log("Player is taking KitchenObject from ClearCounter");
GetKitchenObject().SetKitchenObjectParent(player);
ClearKitchenObject();
SetState(State.Idle);
SetProgress(0f);
}
}
}
public override void InteractAlternate(Player player) {
Debug.Log("Nothing alternate to do here!");
}
private bool HasRecipeWithInput(KitchenObjectSO inputKitchenObjectSO) {
return GetFryingRecipeSOWithInput(inputKitchenObjectSO);
}
private KitchenObjectSO GetOutputForInput(KitchenObjectSO inputKitchenObjectSO) {
FryingRecipeSO fRSO = GetFryingRecipeSOWithInput(inputKitchenObjectSO);
return fRSO ? fRSO.output : null;
}
private FryingRecipeSO GetFryingRecipeSOWithInput(KitchenObjectSO inputKitchenObjectSO) {
return fryingRecipeSOArray.FirstOrDefault(fRSO => fRSO.input == inputKitchenObjectSO);
}
private BurningRecipeSO GetBurningRecipeSOWithInput(KitchenObjectSO inputKitchenObjectSO) {
return burningRecipeSOArray.FirstOrDefault(fRSO => fRSO.input == inputKitchenObjectSO);
}
public class OnStateChangedEventArgs : EventArgs {
public State State;
}
}
}

@ -1,24 +1,19 @@
using System;
using UnityEngine;
namespace Counters
{
public class StoveCounterVisual : MonoBehaviour
{
[SerializeField] private StoveCounter stoveCounter;
[SerializeField] private GameObject stoveGameObject;
[SerializeField] private GameObject particlesGameObject;
namespace Counters {
public class StoveCounterVisual : MonoBehaviour {
[SerializeField] private StoveCounter stoveCounter;
[SerializeField] private GameObject stoveGameObject;
[SerializeField] private GameObject particlesGameObject;
private void Start()
{
stoveCounter.OnStateChanged += StoveCounter_OnStateChanged;
}
private void Start() {
stoveCounter.OnStateChanged += StoveCounter_OnStateChanged;
}
private void StoveCounter_OnStateChanged(object sender, StoveCounter.OnStateChangedEventArgs e)
{
bool showVisual = e.state is StoveCounter.State.Frying or StoveCounter.State.Fried;
stoveGameObject.SetActive(showVisual);
particlesGameObject.SetActive(showVisual);
}
}
}
private void StoveCounter_OnStateChanged(object sender, StoveCounter.OnStateChangedEventArgs e) {
bool showVisual = e.State is StoveCounter.State.Frying or StoveCounter.State.Fried;
stoveGameObject.SetActive(showVisual);
particlesGameObject.SetActive(showVisual);
}
}
}

@ -1,25 +1,19 @@
using UnityEngine;
namespace Counters
{
public class TrashCounter : BaseCounter
{
public override void Interact(Player player)
{
if (player.HasKitchenObject())
{
Debug.Log("KitchenObject from player will be destroyed.");
player.GetKitchenObject().DestroySelf();
}
else
{
Debug.Log("Player does not carry anything destroyable!");
}
}
namespace Counters {
public class TrashCounter : BaseCounter {
public override void Interact(Player player) {
if (player.HasKitchenObject()) {
Debug.Log("KitchenObject from player will be destroyed.");
player.GetKitchenObject().DestroySelf();
}
else {
Debug.Log("Player does not carry anything destroyable!");
}
}
public override void InteractAlternate(Player player)
{
Debug.Log("Cannot do anything alternativly here!");
}
}
}
public override void InteractAlternate(Player player) {
Debug.Log("Cannot do anything alternativly here!");
}
}
}

@ -2,33 +2,29 @@ using System;
using UnityEngine;
using UnityEngine.InputSystem;
public class GameInput : MonoBehaviour
{
public event EventHandler OnInteractAction;
public event EventHandler OnInteractAlternateAction;
private static PlayerInputActions playerInputActions;
private void Awake()
{
playerInputActions = new();
playerInputActions.Player.Enable();
playerInputActions.Player.Interact.performed += InteractPerformed;
playerInputActions.Player.InteractAlternate.performed += InteractAlternate_performed;
}
public class GameInput : MonoBehaviour {
private static PlayerInputActions playerInputActions;
private void InteractAlternate_performed(InputAction.CallbackContext obj)
{
OnInteractAlternateAction?.Invoke(this, EventArgs.Empty);
}
private void Awake() {
playerInputActions = new();
playerInputActions.Player.Enable();
playerInputActions.Player.Interact.performed += InteractPerformed;
playerInputActions.Player.InteractAlternate.performed += InteractAlternate_performed;
}
private void InteractPerformed(InputAction.CallbackContext obj)
{
OnInteractAction?.Invoke(this, EventArgs.Empty);
}
public event EventHandler OnInteractAction;
public event EventHandler OnInteractAlternateAction;
public Vector2 GetMovementVectorNormalized()
{
Vector2 inputVector = playerInputActions.Player.Move.ReadValue<Vector2>();
return inputVector.normalized;
}
}
private void InteractAlternate_performed(InputAction.CallbackContext obj) {
OnInteractAlternateAction?.Invoke(this, EventArgs.Empty);
}
private void InteractPerformed(InputAction.CallbackContext obj) {
OnInteractAction?.Invoke(this, EventArgs.Empty);
}
public static Vector2 GetMovementVectorNormalized() {
Vector2 inputVector = playerInputActions.Player.Move.ReadValue<Vector2>();
return inputVector.normalized;
}
}

@ -1,10 +1,9 @@
using System;
public interface IHasProgress
{
public event EventHandler<OnProgressChangedEventArgs> OnProgressChanged;
public class OnProgressChangedEventArgs : EventArgs
{
public float ProgressNormalized;
}
}
public interface IHasProgress {
public event EventHandler<OnProgressChangedEventArgs> OnProgressChanged;
public class OnProgressChangedEventArgs : EventArgs {
public float ProgressNormalized;
}
}

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

@ -1,41 +1,40 @@
using ScriptableObjects;
using UnityEngine;
public class KitchenObject : MonoBehaviour
{
[SerializeField] private KitchenObjectSO kitchenObjectSo;
private IKitchenObjectParent kitchenObjectParent;
public KitchenObjectSO GetKitchenObjectSO() => kitchenObjectSo;
public IKitchenObjectParent GetKitchenObjectParent() => kitchenObjectParent;
public void SetKitchenObjectParent(IKitchenObjectParent kOP)
{
kOP.ClearKitchenObject();
kitchenObjectParent = kOP;
if (kOP.HasKitchenObject())
{
Debug.LogError("IKitchenObjectParent already has a KitchenObject");
}
kOP.SetKitchenObject(this);
transform.parent = kOP.GetKitchenObjectHoldPoint();
transform.localPosition = Vector3.zero;
}
public void DestroySelf()
{
kitchenObjectParent.ClearKitchenObject();
Destroy(gameObject);
}
public static KitchenObject SpawnKitchenObject(KitchenObjectSO kitchenObjectSO, IKitchenObjectParent kitchenObjectParent)
{
Transform kitchenObjectTransform = Instantiate(kitchenObjectSO.prefab);
KitchenObject kitchenObject = kitchenObjectTransform.GetComponent<KitchenObject>();
kitchenObject.SetKitchenObjectParent(kitchenObjectParent);
return kitchenObject;
}
public class KitchenObject : MonoBehaviour {
[SerializeField] private KitchenObjectSO kitchenObjectSo;
private IKitchenObjectParent kitchenObjectParent;
public KitchenObjectSO GetKitchenObjectSO() {
return kitchenObjectSo;
}
public IKitchenObjectParent GetKitchenObjectParent() {
return kitchenObjectParent;
}
public void SetKitchenObjectParent(IKitchenObjectParent kOP) {
kOP.ClearKitchenObject();
kitchenObjectParent = kOP;
if (kOP.HasKitchenObject()) Debug.LogError("IKitchenObjectParent already has a KitchenObject");
kOP.SetKitchenObject(this);
transform.parent = kOP.GetKitchenObjectHoldPoint();
transform.localPosition = Vector3.zero;
}
public void DestroySelf() {
kitchenObjectParent.ClearKitchenObject();
Destroy(gameObject);
}
public static KitchenObject SpawnKitchenObject(KitchenObjectSO kitchenObjectSO, IKitchenObjectParent kitchenObjectParent) {
Transform kitchenObjectTransform = Instantiate(kitchenObjectSO.prefab);
KitchenObject kitchenObject = kitchenObjectTransform.GetComponent<KitchenObject>();
kitchenObject.SetKitchenObjectParent(kitchenObjectParent);
return kitchenObject;
}
}

@ -1,35 +1,30 @@
using System;
using UnityEngine;
using UnityEngine.InputSystem.Editor;
public class LookAtCamera : MonoBehaviour
{
private enum Mode
{
LookAt,
LookAtInverted,
CameraForward,
CameraForwardInverted,
}
public class LookAtCamera : MonoBehaviour {
[SerializeField] private Mode mode;
[SerializeField] private Mode mode;
private void LateUpdate()
{
switch (mode)
{
case Mode.LookAt:
transform.LookAt(Camera.main.transform);
break;
case Mode.LookAtInverted:
Vector3 dirFromCamera = transform.position - Camera.main.transform.position;
transform.LookAt(transform.position + dirFromCamera);
break;
case Mode.CameraForward:
transform.forward = Camera.main.transform.forward;
break;
case Mode.CameraForwardInverted:
transform.forward = -Camera.main.transform.forward;
break;
}
}
}
private void LateUpdate() {
switch (mode) {
case Mode.LookAt:
transform.LookAt(Camera.main.transform);
break;
case Mode.LookAtInverted:
Vector3 dirFromCamera = transform.position - Camera.main.transform.position;
transform.LookAt(transform.position + dirFromCamera);
break;
case Mode.CameraForward:
transform.forward = Camera.main.transform.forward;
break;
case Mode.CameraForwardInverted:
transform.forward = -Camera.main.transform.forward;
break;
}
}
private enum Mode {
LookAt,
LookAtInverted,
CameraForward,
CameraForwardInverted
}
}

@ -3,155 +3,144 @@ using Counters;
using UnityEngine;
using UnityEngine.Serialization;
public class Player : MonoBehaviour, IKitchenObjectParent
{
public static Player Instance { get; private set; }
public event EventHandler<OnSelectedCounterChangedEventArgs> OnSelectedCounterChanged;
public class OnSelectedCounterChangedEventArgs : EventArgs
{
public BaseCounter SelectedCounter;
}
[SerializeField] private GameInput gameInput;
[SerializeField] private float moveSpeed = 7f;
[SerializeField] private float rotateSpeed = 10f;
[SerializeField] private float interactDistance = 2f;
[FormerlySerializedAs("counterLayerMask")] [SerializeField] private LayerMask countersLayerMask;
[SerializeField] private Transform kitchenObjectHoldPoint;
private bool isWalking;
private const float playerRadius = .7f;
private const float playerHeight = 2f;
private Vector2 inputVector;
private Vector3 moveDir;
private Vector3 lastInteractDir;
private BaseCounter selectedCounter;
private KitchenObject kitchenObject;
private void Awake()
{
if (Instance != null) Debug.LogError("There is more than one Player instance!");
Instance = this;
}
private void Start()
{
gameInput.OnInteractAction += GameInput_OnInteractAction;
gameInput.OnInteractAlternateAction += GameInput_OnInteractAlternateAction;
}
private void GameInput_OnInteractAlternateAction(object sender, EventArgs e)
{
if (selectedCounter != null)
{
selectedCounter.InteractAlternate(this);
}
}
private void GameInput_OnInteractAction(object sender, EventArgs e)
{
if (selectedCounter != null)
{
selectedCounter.Interact(this);
}
}
private void Update()
{
HandleMovement();
HandleInteractions();
}
private void HandleInteractions()
{
if (moveDir != Vector3.zero) lastInteractDir = moveDir;
if (Physics.Raycast(transform.position, lastInteractDir, out RaycastHit raycastHit, interactDistance, countersLayerMask))
{
if (raycastHit.transform.TryGetComponent(out BaseCounter baseCounter))
{
// Debug.Log("Player stands in front of a BaseCounter");
if (baseCounter != selectedCounter)
SetSelectedCounter(baseCounter);
}
else
{
SetSelectedCounter(null);
}
}
else
{
SetSelectedCounter(null);
}
}
private void SetSelectedCounter(BaseCounter sC)
{
selectedCounter = sC;
// Debug.Log(selectedCounter != null ? "SelectedCounter changed to BaseCounter" : "SelectedCounter changed to null");
OnSelectedCounterChanged?.Invoke(this, new() { SelectedCounter = sC });
}
public bool IsWalking() => isWalking;
private static bool CanMove(Vector3 position, Vector3 moveDir, float moveDistance)
{
return !Physics.CapsuleCast(position, position + Vector3.up * playerHeight, playerRadius, moveDir, moveDistance);
}
private void HandleMovement()
{
inputVector = gameInput.GetMovementVectorNormalized();
moveDir = new(inputVector.x, 0, inputVector.y);
float moveDistance = moveSpeed * Time.deltaTime;
if (!CanMove(transform.position, moveDir, moveDistance))
{
// Cannot move towars moveDir
//Attempt only x movement
Vector3 moveDirX = new Vector3(moveDir.x, 0, 0).normalized;
if (CanMove(transform.position, moveDirX, moveDistance))
{
//Can move only on the X
MovePlayer(moveDirX, moveDistance);
}
else
{
//Cannot move only on the X
//Attempt only Z movement
Vector3 moveDirZ = new Vector3(0, 0, moveDir.z).normalized;
if (CanMove(transform.position, moveDirZ, moveDistance))
{
//Can move only on the Z
MovePlayer(moveDirZ, moveDistance);
}
else
{
//Cannot move in any direction
}
}
}
else
{
MovePlayer(moveDir, moveDistance);
}
isWalking = moveDir != Vector3.zero;
transform.forward = Vector3.Slerp(transform.forward, moveDir, Time.deltaTime * rotateSpeed);
}
private void MovePlayer(Vector3 moveDirection, float moveDistance) => transform.position += moveDirection * moveDistance;
public Transform GetKitchenObjectHoldPoint() => kitchenObjectHoldPoint;
public void SetKitchenObject(KitchenObject kO) => kitchenObject = kO;
public KitchenObject GetKitchenObject() => kitchenObject;
public void ClearKitchenObject()
{
Debug.Log("Clear KitchenObject from player");
kitchenObject = null;
}
public bool HasKitchenObject() => kitchenObject != null;
public class Player : MonoBehaviour, IKitchenObjectParent {
private const float playerRadius = .7f;
private const float playerHeight = 2f;
[SerializeField] private GameInput gameInput;
[SerializeField] private float moveSpeed = 7f;
[SerializeField] private float rotateSpeed = 10f;
[SerializeField] private float interactDistance = 2f;
[FormerlySerializedAs("counterLayerMask")] [SerializeField]
private LayerMask countersLayerMask;
[SerializeField] private Transform kitchenObjectHoldPoint;
private Vector2 inputVector;
private bool isWalking;
private KitchenObject kitchenObject;
private Vector3 lastInteractDir;
private Vector3 moveDir;
private BaseCounter selectedCounter;
public static Player Instance { get; private set; }
private void Awake() {
if (Instance != null) Debug.LogError("There is more than one Player instance!");
Instance = this;
}
private void Start() {
gameInput.OnInteractAction += GameInput_OnInteractAction;
gameInput.OnInteractAlternateAction += GameInput_OnInteractAlternateAction;
}
private void Update() {
HandleMovement();
HandleInteractions();
}
public Transform GetKitchenObjectHoldPoint() {
return kitchenObjectHoldPoint;
}
public void SetKitchenObject(KitchenObject kO) {
kitchenObject = kO;
}
public KitchenObject GetKitchenObject() {
return kitchenObject;
}
public void ClearKitchenObject() {
Debug.Log("Clear KitchenObject from player");
kitchenObject = null;
}
public bool HasKitchenObject() {
return kitchenObject is not null;
}
public event EventHandler<OnSelectedCounterChangedEventArgs> OnSelectedCounterChanged;
private void GameInput_OnInteractAlternateAction(object sender, EventArgs e) {
if (selectedCounter != null) selectedCounter.InteractAlternate(this);
}
private void GameInput_OnInteractAction(object sender, EventArgs e) {
if (selectedCounter != null) selectedCounter.Interact(this);
}
private void HandleInteractions() {
if (moveDir != Vector3.zero) lastInteractDir = moveDir;
if (Physics.Raycast(transform.position, lastInteractDir, out RaycastHit raycastHit, interactDistance, countersLayerMask)) {
if (raycastHit.transform.TryGetComponent(out BaseCounter baseCounter)) {
// Debug.Log("Player stands in front of a BaseCounter");
if (baseCounter != selectedCounter)
SetSelectedCounter(baseCounter);
}
else {
SetSelectedCounter(null);
}
}
else {
SetSelectedCounter(null);
}
}
private void SetSelectedCounter(BaseCounter sC) {
selectedCounter = sC;
// Debug.Log(selectedCounter != null ? "SelectedCounter changed to BaseCounter" : "SelectedCounter changed to null");
OnSelectedCounterChanged?.Invoke(this, new() { SelectedCounter = sC });
}
public bool IsWalking() {
return isWalking;
}
private static bool CanMove(Vector3 position, Vector3 moveDir, float moveDistance) {
return !Physics.CapsuleCast(position, position + Vector3.up * playerHeight, playerRadius, moveDir, moveDistance);
}
private void HandleMovement() {
inputVector = GameInput.GetMovementVectorNormalized();
moveDir = new(inputVector.x, 0, inputVector.y);
float moveDistance = moveSpeed * Time.deltaTime;
if (!CanMove(transform.position, moveDir, moveDistance)) {
// Cannot move towars moveDir
//Attempt only x movement
Vector3 moveDirX = new Vector3(moveDir.x, 0, 0).normalized;
if (CanMove(transform.position, moveDirX, moveDistance)) {
//Can move only on the X
MovePlayer(moveDirX, moveDistance);
}
else {
//Cannot move only on the X
//Attempt only Z movement
Vector3 moveDirZ = new Vector3(0, 0, moveDir.z).normalized;
if (CanMove(transform.position, moveDirZ, moveDistance))
//Can move only on the Z
MovePlayer(moveDirZ, moveDistance);
//Cannot move in any direction
}
}
else {
MovePlayer(moveDir, moveDistance);
}
isWalking = moveDir != Vector3.zero;
transform.forward = Vector3.Slerp(transform.forward, moveDir, Time.deltaTime * rotateSpeed);
}
private void MovePlayer(Vector3 moveDirection, float moveDistance) {
transform.position += moveDirection * moveDistance;
}
public class OnSelectedCounterChangedEventArgs : EventArgs {
public BaseCounter SelectedCounter;
}
}

@ -1,19 +1,16 @@
using UnityEngine;
public class PlayerAnimator : MonoBehaviour
{
[SerializeField] private Player player;
private Animator animator;
private static readonly int isWalking = Animator.StringToHash("IsWalking");
public class PlayerAnimator : MonoBehaviour {
private static readonly int isWalking = Animator.StringToHash("IsWalking");
[SerializeField] private Player player;
private void Awake()
{
animator = GetComponent<Animator>();
}
private Animator animator;
private void Update()
{
animator.SetBool(isWalking, player.IsWalking());
}
}
private void Awake() {
animator = GetComponent<Animator>();
}
private void Update() {
animator.SetBool(isWalking, player.IsWalking());
}
}

@ -14,6 +14,7 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Utilities;
using Object = UnityEngine.Object;
public partial class @PlayerInputActions : IInputActionCollection2, IDisposable
{
@ -213,7 +214,7 @@ public partial class @PlayerInputActions : IInputActionCollection2, IDisposable
public void Dispose()
{
UnityEngine.Object.Destroy(asset);
Object.Destroy(asset);
}
public InputBinding? bindingMask

@ -1,39 +1,35 @@
using System;
using Counters;
using UnityEngine;
using UnityEngine.UI;
public class ProgressBarUI : MonoBehaviour
{
[SerializeField] private GameObject hasProgressGameObject;
[SerializeField] private Image barImage ;
private IHasProgress hasProgress;
public class ProgressBarUI : MonoBehaviour {
[SerializeField] private GameObject hasProgressGameObject;
[SerializeField] private Image barImage;
private void Start()
{
hasProgress = hasProgressGameObject.GetComponent<IHasProgress>();
if (hasProgress == null)
{
Debug.LogError($"Game Object {hasProgressGameObject} does not have a component that implements IHasProgress!");
}
else
{
hasProgress.OnProgressChanged += HasProgress_OnProgressChanged;
}
barImage.fillAmount = 0f;
Hide();
}
private IHasProgress hasProgress;
private void HasProgress_OnProgressChanged(object sender, IHasProgress.OnProgressChangedEventArgs e)
{
barImage.fillAmount = e.ProgressNormalized;
if (e.ProgressNormalized is 0f or 1f)
Hide();
else
Show();
}
private void Start() {
hasProgress = hasProgressGameObject.GetComponent<IHasProgress>();
if (hasProgress == null)
Debug.LogError($"Game Object {hasProgressGameObject} does not have a component that implements IHasProgress!");
else
hasProgress.OnProgressChanged += HasProgress_OnProgressChanged;
barImage.fillAmount = 0f;
Hide();
}
private void Show() => gameObject.SetActive(true);
private void Hide() => gameObject.SetActive(false);
}
private void HasProgress_OnProgressChanged(object sender, IHasProgress.OnProgressChangedEventArgs e) {
barImage.fillAmount = e.ProgressNormalized;
if (e.ProgressNormalized is 0f or 1f)
Hide();
else
Show();
}
private void Show() {
gameObject.SetActive(true);
}
private void Hide() {
gameObject.SetActive(false);
}
}

@ -1,12 +1,10 @@
using UnityEngine;
namespace ScriptableObjects
{
[CreateAssetMenu()]
public class BurningRecipeSO : ScriptableObject
{
public KitchenObjectSO input;
public KitchenObjectSO output;
public float burningTimerMax;
}
}
namespace ScriptableObjects {
[CreateAssetMenu]
public class BurningRecipeSO : ScriptableObject {
public KitchenObjectSO input;
public KitchenObjectSO output;
public float burningTimerMax;
}
}

@ -1,12 +1,10 @@
using UnityEngine;
namespace ScriptableObjects
{
[CreateAssetMenu()]
public class CuttingRecipeSO : ScriptableObject
{
public KitchenObjectSO input;
public KitchenObjectSO output;
public int cuttingProgressMax;
}
}
namespace ScriptableObjects {
[CreateAssetMenu]
public class CuttingRecipeSO : ScriptableObject {
public KitchenObjectSO input;
public KitchenObjectSO output;
public int cuttingProgressMax;
}
}

@ -1,12 +1,10 @@
using UnityEngine;
namespace ScriptableObjects
{
[CreateAssetMenu()]
public class FryingRecipeSO : ScriptableObject
{
public KitchenObjectSO input;
public KitchenObjectSO output;
public float fryingTimerMax;
}
}
namespace ScriptableObjects {
[CreateAssetMenu]
public class FryingRecipeSO : ScriptableObject {
public KitchenObjectSO input;
public KitchenObjectSO output;
public float fryingTimerMax;
}
}

@ -1,12 +1,10 @@
using UnityEngine;
namespace ScriptableObjects
{
[CreateAssetMenu()]
public class KitchenObjectSO : ScriptableObject
{
public Transform prefab;
public Sprite sprite;
public string objectName;
}
}
namespace ScriptableObjects {
[CreateAssetMenu]
public class KitchenObjectSO : ScriptableObject {
public Transform prefab;
public Sprite sprite;
public string objectName;
}
}

@ -1,37 +1,28 @@
using Counters;
using UnityEngine;
public class SelectedCounterVisual : MonoBehaviour
{
[SerializeField] private BaseCounter baseCounter;
[SerializeField] private GameObject[] visualGameObjectArray;
private void Start()
{
Player.Instance.OnSelectedCounterChanged += Player_OnSelectedCounterChanged;
}
public class SelectedCounterVisual : MonoBehaviour {
[SerializeField] private BaseCounter baseCounter;
[SerializeField] private GameObject[] visualGameObjectArray;
private void Player_OnSelectedCounterChanged(object sender, Player.OnSelectedCounterChangedEventArgs e)
{
if (e.SelectedCounter == baseCounter)
{
Show();
}
else
{
Hide();
}
}
private void Start() {
Player.Instance.OnSelectedCounterChanged += Player_OnSelectedCounterChanged;
}
private void Show()
{
foreach (GameObject visualGameObject in visualGameObjectArray)
visualGameObject.SetActive(true);
}
private void Player_OnSelectedCounterChanged(object sender, Player.OnSelectedCounterChangedEventArgs e) {
if (e.SelectedCounter == baseCounter)
Show();
else
Hide();
}
private void Hide()
{
foreach (GameObject visualGameObject in visualGameObjectArray)
visualGameObject.SetActive(false);
}
}
private void Show() {
foreach (GameObject visualGameObject in visualGameObjectArray)
visualGameObject.SetActive(true);
}
private void Hide() {
foreach (GameObject visualGameObject in visualGameObjectArray)
visualGameObject.SetActive(false);
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -199,12 +199,13 @@ Transform:
m_Children:
- {fileID: 3294758250785316825}
- {fileID: 3294758251441920654}
- {fileID: 8379395510661700637}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!95 &6024899996280613204
Animator:
serializedVersion: 5
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
@ -218,6 +219,7 @@ Animator:
m_ApplyRootMotion: 0
m_LinearVelocityBlending: 0
m_StabilizeFeet: 0
m_AnimatePhysics: 0
m_WarningMessage:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
@ -388,3 +390,250 @@ MeshRenderer:
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &5866409230264522195
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7240396253376181642}
- component: {fileID: 7465604384188441935}
- component: {fileID: 3824006173623556183}
- component: {fileID: 226057897364414339}
m_Layer: 0
m_Name: Arm_L
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7240396253376181642
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5866409230264522195}
m_LocalRotation: {x: -0.27301505, y: -0.06528124, z: -0.19934404, w: 0.9388627}
m_LocalPosition: {x: -0.6, y: 0.8, z: 0}
m_LocalScale: {x: 0.3, y: 0.4, z: 0.3}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8379395510661700637}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: -32.593, y: -0.934, z: -23.702}
--- !u!33 &7465604384188441935
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5866409230264522195}
m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &3824006173623556183
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5866409230264522195}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: dba792b574c201a4eabfe983aa82805a, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!136 &226057897364414339
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5866409230264522195}
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: 2
m_Radius: 0.5
m_Height: 2
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &6142805601207732662
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2111851341167526883}
- component: {fileID: 4082440876200315139}
- component: {fileID: 701825710117084684}
- component: {fileID: 6094477583849593042}
m_Layer: 0
m_Name: Arm_R
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2111851341167526883
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6142805601207732662}
m_LocalRotation: {x: -0.19974867, y: -0.19722898, z: 0.31566578, w: 0.90639746}
m_LocalPosition: {x: 0.6, y: 0.8, z: 0}
m_LocalScale: {x: 0.3, y: 0.4, z: 0.3}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8379395510661700637}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: -13.744, y: -29.861, z: 42.084}
--- !u!33 &4082440876200315139
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6142805601207732662}
m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &701825710117084684
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6142805601207732662}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: dba792b574c201a4eabfe983aa82805a, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!136 &6094477583849593042
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6142805601207732662}
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: 2
m_Radius: 0.5
m_Height: 2
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &7498007644790368937
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8379395510661700637}
m_Layer: 0
m_Name: Arms
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8379395510661700637
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7498007644790368937}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 2111851341167526883}
- {fileID: 7240396253376181642}
m_Father: {fileID: 3294758251327466532}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

@ -1,2 +1,4 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=OP/@EntryIndexedValue">OP</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=RSO/@EntryIndexedValue">RSO</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SO/@EntryIndexedValue">SO</s:String></wpf:ResourceDictionary>

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -34955,7 +34955,7 @@
"DisplayName": "Writing Assembly-CSharp.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1527021,
"PayloadLength": 35089,
"PayloadLength": 35183,
"PayloadDebugContentSnippet": "-target:library\r\n-out:\"Library",
"Inputs": [],
"InputFlags": [],
@ -34971,7 +34971,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aEDbg.dag/Assembly-CSharp.rsp2",
"DisplayName": "Writing Assembly-CSharp.rsp2",
"ActionType": "WriteFile",
"PayloadOffset": 1562200,
"PayloadOffset": 1562294,
"PayloadLength": 0,
"PayloadDebugContentSnippet": "",
"Inputs": [],
@ -35236,6 +35236,8 @@
"Assets/Scripts/Counters/ContainerCounterVisual.cs",
"Assets/Scripts/Counters/CuttingCounter.cs",
"Assets/Scripts/Counters/CuttingCounterVisual.cs",
"Assets/Scripts/Counters/PlatesCounter.cs",
"Assets/Scripts/Counters/PlatesCounterVisual.cs",
"Assets/Scripts/Counters/StoveCounter.cs",
"Assets/Scripts/Counters/StoveCounterVisual.cs",
"Assets/Scripts/Counters/TrashCounter.cs",
@ -35524,6 +35526,8 @@
0,
0,
0,
0,
0,
8
],
"Outputs": [
@ -35709,7 +35713,7 @@
"Annotation": "WriteText Library/Bee/artifacts/1900b0aEDbg.dag/Assembly-CSharp.dll.mvfrm.rsp",
"DisplayName": "Writing Assembly-CSharp.dll.mvfrm.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1562299,
"PayloadOffset": 1562393,
"PayloadLength": 10002,
"PayloadDebugContentSnippet": "Library\\Bee\\artifacts\\mvdfrm\\U",
"Inputs": [],
@ -36096,7 +36100,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/4747638433968585886.rsp",
"DisplayName": "Writing 4747638433968585886.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1572390,
"PayloadOffset": 1572484,
"PayloadLength": 44548,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -36846,7 +36850,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/14811776502145285846.rsp",
"DisplayName": "Writing 14811776502145285846.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1617028,
"PayloadOffset": 1617122,
"PayloadLength": 30138,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -38767,7 +38771,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/13937618220218904785.rsp",
"DisplayName": "Writing 13937618220218904785.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1647256,
"PayloadOffset": 1647350,
"PayloadLength": 31413,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -40946,7 +40950,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/16765266549976182072.rsp",
"DisplayName": "Writing 16765266549976182072.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1678759,
"PayloadOffset": 1678853,
"PayloadLength": 29775,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -43129,7 +43133,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/16868173504329741775.rsp",
"DisplayName": "Writing 16868173504329741775.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1708624,
"PayloadOffset": 1708718,
"PayloadLength": 30330,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -45311,7 +45315,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5437769195855483410.rsp",
"DisplayName": "Writing 5437769195855483410.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1739043,
"PayloadOffset": 1739137,
"PayloadLength": 30163,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -47493,7 +47497,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/10061567675400582526.rsp",
"DisplayName": "Writing 10061567675400582526.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1769296,
"PayloadOffset": 1769390,
"PayloadLength": 30186,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -49675,7 +49679,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/8294100515912051134.rsp",
"DisplayName": "Writing 8294100515912051134.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1799571,
"PayloadOffset": 1799665,
"PayloadLength": 30198,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -51857,7 +51861,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/10737166954586391488.rsp",
"DisplayName": "Writing 10737166954586391488.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1829859,
"PayloadOffset": 1829953,
"PayloadLength": 30185,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -54039,7 +54043,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/8160633778266953362.rsp",
"DisplayName": "Writing 8160633778266953362.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1860133,
"PayloadOffset": 1860227,
"PayloadLength": 31421,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -56221,7 +56225,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/17626248429526979731.rsp",
"DisplayName": "Writing 17626248429526979731.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1891644,
"PayloadOffset": 1891738,
"PayloadLength": 31427,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -58403,7 +58407,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/10024200538832084055.rsp",
"DisplayName": "Writing 10024200538832084055.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1923161,
"PayloadOffset": 1923255,
"PayloadLength": 30185,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -60585,7 +60589,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/7480027478895629309.rsp",
"DisplayName": "Writing 7480027478895629309.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1953435,
"PayloadOffset": 1953529,
"PayloadLength": 31474,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -62771,7 +62775,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5712859670010231491.rsp",
"DisplayName": "Writing 5712859670010231491.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 1984998,
"PayloadOffset": 1985092,
"PayloadLength": 31486,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -64956,7 +64960,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/4172707023850728460.rsp",
"DisplayName": "Writing 4172707023850728460.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2016573,
"PayloadOffset": 2016667,
"PayloadLength": 30372,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -67144,7 +67148,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/15985480389207366606.rsp",
"DisplayName": "Writing 15985480389207366606.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2047035,
"PayloadOffset": 2047129,
"PayloadLength": 31505,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -69329,7 +69333,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/9263707530294325947.rsp",
"DisplayName": "Writing 9263707530294325947.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2078629,
"PayloadOffset": 2078723,
"PayloadLength": 30269,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -71520,7 +71524,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5147072719652273855.rsp",
"DisplayName": "Writing 5147072719652273855.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2108987,
"PayloadOffset": 2109081,
"PayloadLength": 31642,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -73715,7 +73719,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/14944518940209746966.rsp",
"DisplayName": "Writing 14944518940209746966.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2140719,
"PayloadOffset": 2140813,
"PayloadLength": 30619,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -75913,7 +75917,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/16186684979044175686.rsp",
"DisplayName": "Writing 16186684979044175686.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2171428,
"PayloadOffset": 2171522,
"PayloadLength": 31719,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -78117,7 +78121,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/7045526637208854022.rsp",
"DisplayName": "Writing 7045526637208854022.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2203236,
"PayloadOffset": 2203330,
"PayloadLength": 30520,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -80318,7 +80322,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5554746648931848405.rsp",
"DisplayName": "Writing 5554746648931848405.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2233845,
"PayloadOffset": 2233939,
"PayloadLength": 30730,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -82525,7 +82529,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/4231056368997063253.rsp",
"DisplayName": "Writing 4231056368997063253.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2264664,
"PayloadOffset": 2264758,
"PayloadLength": 31986,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -84747,7 +84751,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/6468990220793547653.rsp",
"DisplayName": "Writing 6468990220793547653.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2296739,
"PayloadOffset": 2296833,
"PayloadLength": 31741,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -86972,7 +86976,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/5430483482635121626.rsp",
"DisplayName": "Writing 5430483482635121626.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2328569,
"PayloadOffset": 2328663,
"PayloadLength": 32226,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],
@ -89206,7 +89210,7 @@
"Annotation": "WriteResponseFile Library/Bee/artifacts/rsp/13279423640760612673.rsp",
"DisplayName": "Writing 13279423640760612673.rsp",
"ActionType": "WriteFile",
"PayloadOffset": 2360885,
"PayloadOffset": 2360979,
"PayloadLength": 31586,
"PayloadDebugContentSnippet": "\"unity-ilpp-5414b5557d0dbcc227",
"Inputs": [],

@ -374,6 +374,8 @@
"Assets/Scripts/Counters/ContainerCounterVisual.cs"
"Assets/Scripts/Counters/CuttingCounter.cs"
"Assets/Scripts/Counters/CuttingCounterVisual.cs"
"Assets/Scripts/Counters/PlatesCounter.cs"
"Assets/Scripts/Counters/PlatesCounterVisual.cs"
"Assets/Scripts/Counters/StoveCounter.cs"
"Assets/Scripts/Counters/StoveCounterVisual.cs"
"Assets/Scripts/Counters/TrashCounter.cs"

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": 1675413764676499, "dur": 443967, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675413764678282, "dur": 75553, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675413765038873, "dur": 5634, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675413765044512, "dur": 75936, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675413765046953, "dur": 45932, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675413765133307, "dur": 1439, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675413765132742, "dur": 2262, "ph": "X", "name": "Write chrome-trace events", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675418628799125, "dur": 545731, "ph": "X", "name": "BuildProgram", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675418628800416, "dur": 72421, "ph": "X", "name": "BuildProgramContextConstructor", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675418629263678, "dur": 5485, "ph": "X", "name": "OutputData.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675418629269167, "dur": 75675, "ph": "X", "name": "Backend.Write", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675418629271131, "dur": 54488, "ph": "X", "name": "JsonToString", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675418629354074, "dur": 1807, "ph": "X", "name": "", "args": {} },
{ "pid": 35942, "tid": 1, "ts": 1675418629353458, "dur": 2941, "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

Binary file not shown.

Binary file not shown.

@ -1 +1 @@
{"m_ScrollY":223.0,"m_ExpandedSceneGameObjectInstanceIDs":[-1826,-1322,-1284,24422],"m_LastClickedInstanceID":-57746,"m_OpenSceneGUIDs":["99c9720ab356a0642a771bea13969a05"]}
{"m_ScrollY":0.0,"m_ExpandedSceneGameObjectInstanceIDs":[-105066,-105048,-105044,-57746,-2354,-2330,-2294,-2252,-2224,-2188,-2152,-2110,-2060,-2036,-1966,-1942,-1900,-1850,-1826,-1790,-1720,-1696,-1626,-1602,-1566,-1530,-1460,-1436,-1332,-1296,-1284],"m_LastClickedInstanceID":24454,"m_OpenSceneGUIDs":["99c9720ab356a0642a771bea13969a05"]}

@ -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":2.2711901664733888,"y":0.6484212875366211,"z":-0.46550750732421877},"rotation":{"x":0.41472360491752627,"y":-0.13699758052825929,"z":0.06331583112478256,"w":0.8973456025123596},"size":6.621743202209473,"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.46955496072769167,"y":0.104766845703125,"z":6.534006118774414},"rotation":{"x":0.21367713809013368,"y":-0.027837786823511125,"z":0.006091143004596233,"w":0.9764915108680725},"size":9.429821968078614,"orthographic":false}

@ -56,7 +56,7 @@ MonoBehaviour:
- '{}'
- '{}'
- '{}'
- '{"m_ShowAlternatingRowBackgrounds":0,"serializedVirtualizationData":{"scrollOffset":{"x":0.0,"y":0.0},"firstVisibleIndex":0,"contentPadding":0.0,"contentHeight":66.0,"anchoredItemIndex":0,"anchorOffset":0.0}}'
- '{}'
- '{"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":22.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: -8585261931224174883
lastWriteTicks: -8585261858528175466

@ -1,167 +1,167 @@
{
"templatePinStates": [],
"dependencyTypeInfos": [
{
"userAdded": false,
"type": "UnityEngine.AnimationClip",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Animations.AnimatorController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.AnimatorOverrideController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Audio.AudioMixerController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ComputeShader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Cubemap",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.GameObject",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.LightingDataAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.LightingSettings",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Material",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.MonoScript",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicMaterial",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicsMaterial2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.VolumeProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.SceneAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.Shader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ShaderVariantCollection",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Timeline.TimelineAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
}
],
"defaultDependencyTypeInfo": {
"userAdded": false,
"type": "<default_scene_template_dependencies>",
"ignore": false,
"defaultInstantiationMode": 1,
"supportsModification": true
},
"newSceneOverride": 0
"templatePinStates": [],
"dependencyTypeInfos": [
{
"userAdded": false,
"type": "UnityEngine.AnimationClip",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Animations.AnimatorController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.AnimatorOverrideController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.Audio.AudioMixerController",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ComputeShader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Cubemap",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.GameObject",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.LightingDataAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.LightingSettings",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Material",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.MonoScript",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicMaterial",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.PhysicsMaterial2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Rendering.VolumeProfile",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEditor.SceneAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": false
},
{
"userAdded": false,
"type": "UnityEngine.Shader",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.ShaderVariantCollection",
"ignore": true,
"defaultInstantiationMode": 1,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Texture2D",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
},
{
"userAdded": false,
"type": "UnityEngine.Timeline.TimelineAsset",
"ignore": false,
"defaultInstantiationMode": 0,
"supportsModification": true
}
],
"defaultDependencyTypeInfo": {
"userAdded": false,
"type": "<default_scene_template_dependencies>",
"ignore": false,
"defaultInstantiationMode": 1,
"supportsModification": true
},
"newSceneOverride": 0
}