This commit is contained in:
nothke 2024-08-18 16:33:03 +02:00
commit b3a0a736f3
62 changed files with 2255 additions and 766 deletions

BIN
Assets/Audio/Player/tool_pickup.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/Product/product_bad.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/Product/product_drop.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/Product/product_good.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/Product/product_pickup.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/Scanner/scanner_not-an-item.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/Scanner/scanner_scan.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/UI/buttonclick.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/UI/buttonclickrelease.wav (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Audio/UI/buttonrollover.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a80c2e8703664de8943062f03eedfe17, type: 3} m_Script: {fileID: 11500000, guid: a80c2e8703664de8943062f03eedfe17, type: 3}
m_Name: Crates m_Name: Crates Schedule
m_EditorClassIdentifier: m_EditorClassIdentifier:
Products: Products:
- Prefab: {fileID: 8661871210265028242, guid: ca01f03442732704ba414883790643f7, type: 3} - Prefab: {fileID: 8661871210265028242, guid: ca01f03442732704ba414883790643f7, type: 3}

View File

@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a80c2e8703664de8943062f03eedfe17, type: 3} m_Script: {fileID: 11500000, guid: a80c2e8703664de8943062f03eedfe17, type: 3}
m_Name: Defective Crates m_Name: Defective Crates Schedule
m_EditorClassIdentifier: m_EditorClassIdentifier:
Products: Products:
- Prefab: {fileID: 8661871210265028242, guid: c150b9eb048821c47a8d6083804e00e0, type: 3} - Prefab: {fileID: 8661871210265028242, guid: c150b9eb048821c47a8d6083804e00e0, type: 3}

8
Assets/Data/Types.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b03277b8f2bc4804c90240a02424b55d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,15 @@
%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: bcf4ec4eb272446d850eb3c9e72cd87f, type: 3}
m_Name: Original E
m_EditorClassIdentifier:
Prefab: {fileID: 1892923323752838125, guid: 67d17fe30a51b794899db51da3f9fddb, type: 3}

View File

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

View File

@ -0,0 +1,22 @@
%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: bcf4ec4eb272446d850eb3c9e72cd87f, type: 3}
m_Name: Produced E
m_EditorClassIdentifier:
Prefab: {fileID: 4275785426082247918, guid: 14d16caaceafb634f87449e796c4543a, type: 3}
DefectProbabilities:
- Defect: 0
Probability: 50
- Defect: 1024
Probability: 25
- Defect: 2048
Probability: 25

View File

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

View File

@ -0,0 +1,84 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: emissive_magenta
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _EMISSION
m_InvalidKeywords: []
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 0, b: 0.8627451, a: 1}
- _EmissionColor: {r: 1.1892071, g: 0, b: 0.8511081, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 568b3806fe9d062479776cf082c0fd7b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Meshes/products.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,109 @@
fileFormatVersion: 2
guid: 4c6f4b5005eaee14b8214635df8d4049
ModelImporter:
serializedVersion: 22200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Meshes/qa_scanner.fbx (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/Meshes/trashbin.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,109 @@
fileFormatVersion: 2
guid: 2ec19dda799c8744292de0274474475b
ModelImporter:
serializedVersion: 22200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,218 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &7544640980504195214
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4308922499226473595}
- component: {fileID: 307974221925563946}
- component: {fileID: 593814420892732577}
m_Layer: 0
m_Name: Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4308922499226473595
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7544640980504195214}
serializedVersion: 2
m_LocalRotation: {x: -0.70710707, y: -0, z: -0, w: 0.7071066}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6297052809674953331}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!64 &307974221925563946
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7544640980504195214}
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: 5
m_Convex: 1
m_CookingOptions: 30
m_Mesh: {fileID: -4284871513378854387, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!114 &593814420892732577
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7544640980504195214}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 813c296fdd6145aeaa5dfd4a2b2ca423, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &7947812480369148219
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6297052809674953331}
- component: {fileID: 4658930109992927606}
m_Layer: 0
m_Name: Basic Torus
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6297052809674953331
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7947812480369148219}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.375, z: 2.868}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3425455539473979036}
- {fileID: 4308922499226473595}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &4658930109992927606
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7947812480369148219}
serializedVersion: 4
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!1 &8478189424890482192
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3425455539473979036}
- component: {fileID: 2379847509244969485}
- component: {fileID: 181044875942612192}
m_Layer: 0
m_Name: Model
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3425455539473979036
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8478189424890482192}
serializedVersion: 2
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071067}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6297052809674953331}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &2379847509244969485
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8478189424890482192}
m_Mesh: {fileID: -8657128243768987584, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!23 &181044875942612192
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8478189424890482192}
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: -6478536213147159724, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -3846018093981099296, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -2813467912831258332, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -6922793697723135513, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -6629797300637803691, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: 4874126678125670354, guid: 4c6f4b5005eaee14b8214635df8d4049, 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}

View File

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

View File

@ -13,7 +13,7 @@ GameObject:
- component: {fileID: 2547041061673746692} - component: {fileID: 2547041061673746692}
- component: {fileID: 3271489653354074546} - component: {fileID: 3271489653354074546}
- component: {fileID: 6230516344177671089} - component: {fileID: 6230516344177671089}
- component: {fileID: 4025835224586210870} - component: {fileID: 1073089907330318869}
m_Layer: 0 m_Layer: 0
m_Name: Crate_Defective m_Name: Crate_Defective
m_TagString: Untagged m_TagString: Untagged
@ -64,7 +64,7 @@ MeshRenderer:
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 2100000, guid: 54361f89cfee8b94d810c14a6beb11b5, type: 2} - {fileID: 2100000, guid: 568b3806fe9d062479776cf082c0fd7b, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -134,7 +134,7 @@ Rigidbody:
m_Interpolate: 1 m_Interpolate: 1
m_Constraints: 0 m_Constraints: 0
m_CollisionDetection: 0 m_CollisionDetection: 0
--- !u!114 &4025835224586210870 --- !u!114 &1073089907330318869
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -143,6 +143,7 @@ MonoBehaviour:
m_GameObject: {fileID: 8661871210265028242} m_GameObject: {fileID: 8661871210265028242}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 05b73befcbdd4bbfaaee667a8da86b1f, type: 3} m_Script: {fileID: 11500000, guid: 813c296fdd6145aeaa5dfd4a2b2ca423, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
Defect: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: aff776f3f934b994196fa5d167b8694e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,233 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2800260828149114879
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6979045880030117323}
- component: {fileID: 1473881033570791571}
m_Layer: 0
m_Name: Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6979045880030117323
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2800260828149114879}
serializedVersion: 2
m_LocalRotation: {x: -0.0000008493661, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 270648843518875621}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!64 &1473881033570791571
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2800260828149114879}
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: 5
m_Convex: 1
m_CookingOptions: 30
m_Mesh: {fileID: 5306612005858897651, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!1 &3486484010427172590
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 270648843518875621}
- component: {fileID: 6036007508636776569}
- component: {fileID: 3204487457196456735}
- component: {fileID: 1892923323752838125}
m_Layer: 0
m_Name: Original E
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &270648843518875621
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
serializedVersion: 2
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: 6372285128840822164}
- {fileID: 6979045880030117323}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &6036007508636776569
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
serializedVersion: 4
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!114 &3204487457196456735
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: cf9152fd8b7951445bef5e6f0778fd53, type: 3}
m_Name:
m_EditorClassIdentifier:
manager: {fileID: 0}
info:
name:
rb: {fileID: 6036007508636776569}
rotateAroundPoint: 0
--- !u!114 &1892923323752838125
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 813c296fdd6145aeaa5dfd4a2b2ca423, type: 3}
m_Name:
m_EditorClassIdentifier:
Type: {fileID: 0}
Defect: 0
--- !u!1 &6512547544738721002
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6372285128840822164}
- component: {fileID: 5442234278899752856}
- component: {fileID: 4412164409397203209}
m_Layer: 0
m_Name: Model
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6372285128840822164
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6512547544738721002}
serializedVersion: 2
m_LocalRotation: {x: -0.00000010430811, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 270648843518875621}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &5442234278899752856
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6512547544738721002}
m_Mesh: {fileID: 4360376517787754701, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!23 &4412164409397203209
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6512547544738721002}
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: -6478536213147159724, guid: 4c6f4b5005eaee14b8214635df8d4049, 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}

View File

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

View File

@ -0,0 +1,420 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2800260828149114879
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6979045880030117323}
- component: {fileID: 1473881033570791571}
m_Layer: 0
m_Name: Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6979045880030117323
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2800260828149114879}
serializedVersion: 2
m_LocalRotation: {x: -0.0000008493661, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 270648843518875621}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!64 &1473881033570791571
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2800260828149114879}
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: 5
m_Convex: 1
m_CookingOptions: 30
m_Mesh: {fileID: 5306612005858897651, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!1 &3486484010427172590
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 270648843518875621}
- component: {fileID: 6036007508636776569}
- component: {fileID: 4275785426082247918}
- component: {fileID: 8393139001085453593}
- component: {fileID: 7230423446829384199}
m_Layer: 0
m_Name: Produced E
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &270648843518875621
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
serializedVersion: 2
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: 6979045880030117323}
- {fileID: 6372285128840822164}
- {fileID: 5999615304409568666}
- {fileID: 1620106073998789999}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &6036007508636776569
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
serializedVersion: 4
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!114 &4275785426082247918
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 813c296fdd6145aeaa5dfd4a2b2ca423, type: 3}
m_Name:
m_EditorClassIdentifier:
Type: {fileID: 11400000, guid: 7413928b7579deb4a8e0440376531b10, type: 2}
Defect: 0
--- !u!114 &8393139001085453593
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 168e96bc0e2e4ddfa90949e485bcd0cd, type: 3}
m_Name:
m_EditorClassIdentifier:
NormalPrefab: {fileID: 6512547544738721002}
DefectivePrefabVariants:
- DefectType: 2048
Prefab: {fileID: 5823832367352199241}
- DefectType: 3072
Prefab: {fileID: 6807509591159707237}
--- !u!114 &7230423446829384199
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3486484010427172590}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: cf9152fd8b7951445bef5e6f0778fd53, type: 3}
m_Name:
m_EditorClassIdentifier:
manager: {fileID: 0}
info:
name:
rb: {fileID: 0}
rotateAroundPoint: 0
--- !u!1 &5823832367352199241
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5999615304409568666}
- component: {fileID: 4828098660601889663}
- component: {fileID: 100004837302285549}
m_Layer: 0
m_Name: Flawed E
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &5999615304409568666
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5823832367352199241}
serializedVersion: 2
m_LocalRotation: {x: -0.00000010430811, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 270648843518875621}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4828098660601889663
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5823832367352199241}
m_Mesh: {fileID: 8408390521129149690, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!23 &100004837302285549
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5823832367352199241}
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: -6478536213147159724, guid: 4c6f4b5005eaee14b8214635df8d4049, 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!1 &6512547544738721002
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6372285128840822164}
- component: {fileID: 5442234278899752856}
- component: {fileID: 4412164409397203209}
m_Layer: 0
m_Name: Perfect E
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &6372285128840822164
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6512547544738721002}
serializedVersion: 2
m_LocalRotation: {x: -0.00000010430811, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 270648843518875621}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &5442234278899752856
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6512547544738721002}
m_Mesh: {fileID: -515799189410417169, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!23 &4412164409397203209
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6512547544738721002}
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: -6478536213147159724, guid: 4c6f4b5005eaee14b8214635df8d4049, 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!1 &6807509591159707237
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1620106073998789999}
- component: {fileID: 7514253183284268710}
- component: {fileID: 8547058415545607697}
m_Layer: 0
m_Name: No Cutout E
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &1620106073998789999
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6807509591159707237}
serializedVersion: 2
m_LocalRotation: {x: -0.00000010430811, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 270648843518875621}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7514253183284268710
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6807509591159707237}
m_Mesh: {fileID: 4360376517787754701, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!23 &8547058415545607697
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6807509591159707237}
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: -6478536213147159724, guid: 4c6f4b5005eaee14b8214635df8d4049, 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}

View File

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

View File

@ -0,0 +1,218 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &708089231707068016
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9072964932149663470}
- component: {fileID: 1443127812396605375}
- component: {fileID: 6888249271458544397}
m_Layer: 0
m_Name: Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9072964932149663470
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 708089231707068016}
serializedVersion: 2
m_LocalRotation: {x: -0.70710707, y: -0, z: -0, w: 0.7071066}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 859769572422477909}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!64 &1443127812396605375
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 708089231707068016}
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: 5
m_Convex: 1
m_CookingOptions: 30
m_Mesh: {fileID: -4284871513378854387, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!114 &6888249271458544397
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 708089231707068016}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 813c296fdd6145aeaa5dfd4a2b2ca423, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &2292345541007273600
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 859769572422477909}
- component: {fileID: 8016744490147251621}
m_Layer: 0
m_Name: Upgraded Torus
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &859769572422477909
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2292345541007273600}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.375, z: 2.868}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4349932676757150651}
- {fileID: 9072964932149663470}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &8016744490147251621
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2292345541007273600}
serializedVersion: 4
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!1 &6432146054106117500
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4349932676757150651}
- component: {fileID: 4569196211945590331}
- component: {fileID: 5621834915932830697}
m_Layer: 0
m_Name: Model
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4349932676757150651
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6432146054106117500}
serializedVersion: 2
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071067}
m_LocalPosition: {x: -1.125, y: 0, z: 0}
m_LocalScale: {x: 200, y: 200, z: 200}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 859769572422477909}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4569196211945590331
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6432146054106117500}
m_Mesh: {fileID: 2447923694282824268, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
--- !u!23 &5621834915932830697
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6432146054106117500}
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: -6478536213147159724, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -3846018093981099296, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -2813467912831258332, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -6922793697723135513, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: -6629797300637803691, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
- {fileID: 4874126678125670354, guid: 4c6f4b5005eaee14b8214635df8d4049, 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}

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
using UnityEngine;
public class GameAssets: MonoBehaviour
{
public static GameAssets Instance;
public Material MissingMaterial;
private void Start()
{
if (Instance == null)
{
Instance = this;
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ea024824a29348d580d9e07817800c84
timeCreated: 1723978793

View File

@ -0,0 +1,74 @@
using System;
using System.Collections.Generic;
using UnityEngine;
public class Converter: MonoBehaviour
{
public List<Product> inputProducts;
public ProductType expectedReagent;
public Transform outputPoint;
public ProductType conversionProduct;
public bool isBroken;
public float conversionTime = 5f;
private float _conversionTimer;
public Transform refuseLauncher;
public float launchPower = 10f;
public void OnTriggerEnter(Collider other)
{
var product = other.GetComponentInParent<Product>();
if (product)
{
product.gameObject.SetActive(false);
inputProducts.Add(product);
}
}
public void Update()
{
if (isBroken)
{
return;
}
if (inputProducts.Count == 0)
{
return;
}
if (_conversionTimer <= 0f)
{
var currentProduct = inputProducts[0];
if (inputProducts[0].Type == expectedReagent)
{
ProductType.SpawnProduct(conversionProduct, outputPoint);
inputProducts.RemoveAt(0);
Destroy(currentProduct);
}
else
{
Expel(inputProducts[0]);
inputProducts.RemoveAt(0);
}
_conversionTimer = conversionTime;
}
_conversionTimer -= Time.deltaTime;
}
private void Expel(Product product)
{
product.transform.position = refuseLauncher.position;
product.transform.rotation = refuseLauncher.rotation;
product.gameObject.SetActive(true);
product.GetComponent<Rigidbody>().velocity = launchPower * refuseLauncher.forward;
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 648bc447374048b0a38c2369cbb3939e
timeCreated: 1723978325

View File

@ -20,7 +20,9 @@ public class ProductReceiver : MonoBehaviour
//enteredBodies.Add(rb); //enteredBodies.Add(rb);
if (rb.GetComponent<DefectiveProduct>()) if (rb.TryGetComponent(out Product product))
{
if (product.Defect != DefectType.None)
{ {
defectiveProductCount++; defectiveProductCount++;
} }
@ -32,3 +34,4 @@ public class ProductReceiver : MonoBehaviour
Destroy(rb.gameObject); Destroy(rb.gameObject);
} }
} }
}

View File

@ -14,7 +14,7 @@ public class ProductSpawner : MonoBehaviour
public struct ProductionPhase public struct ProductionPhase
{ {
public ProductionPhaseType Type; public ProductionPhaseType Type;
public ProductDescription Description; public ProductType ProductType;
[Min(1f)] [Min(1f)]
public float Duration; public float Duration;
[Min(1f)] [Min(1f)]
@ -62,7 +62,7 @@ public class ProductSpawner : MonoBehaviour
_spawnTimer = currentPhase.SpawnInterval; _spawnTimer = currentPhase.SpawnInterval;
Instantiate(currentPhase.Description.GetRandomProduct(), transform.position, Quaternion.identity); ProductType.SpawnProduct(currentPhase.ProductType, transform);
} }
if (_remainingDuration <= 0) if (_remainingDuration <= 0)

View File

@ -12,20 +12,20 @@ public class StationaryDefectDetector : MonoBehaviour
[Range(0, 100)] [Range(0, 100)]
public int FalseNegativeChance; public int FalseNegativeChance;
public List<Product> _detectedDefects; public List<Product> _knownProducts;
private void OnTriggerEnter(Collider other) private void OnTriggerEnter(Collider other)
{ {
if (other.TryGetComponent(out Product product)) if (other.TryGetComponent(out Product product))
{ {
if (_detectedDefects.Contains(product)) if (_knownProducts.Contains(product))
{ {
return; return;
} }
_detectedDefects.Add(product); _knownProducts.Add(product);
if (other.TryGetComponent(out DefectiveProduct defectiveProduct)) if (product.Defect == DefectType.None)
{ {
var falseNegativeRoll = Random.Range(0, 100); var falseNegativeRoll = Random.Range(0, 100);
@ -48,11 +48,11 @@ public class StationaryDefectDetector : MonoBehaviour
private void OnTriggerExit(Collider other) private void OnTriggerExit(Collider other)
{ {
if (other.TryGetComponent(out DefectiveProduct product)) if (other.TryGetComponent(out Product product))
{ {
if (_detectedDefects.Contains(product)) if (_knownProducts.Contains(product))
{ {
_detectedDefects.Remove(product); _knownProducts.Remove(product);
} }
} }
} }

View File

@ -24,14 +24,16 @@ public class TrashBin : MonoBehaviour
public void OnTriggerEnter(Collider otherCollider) public void OnTriggerEnter(Collider otherCollider)
{ {
var rb = otherCollider.GetComponent<Rigidbody>(); var rb = otherCollider.GetComponentInParent<Rigidbody>();
if (!rb) if (!rb)
{ {
return; return;
} }
if (otherCollider.TryGetComponent(out Product product)) var product = otherCollider.GetComponentInParent<Product>();
if (product)
{ {
if (!enteredProducts.Contains(product)) if (!enteredProducts.Contains(product))
{ {
@ -45,7 +47,9 @@ public class TrashBin : MonoBehaviour
public void OnTriggerExit(Collider collider) public void OnTriggerExit(Collider collider)
{ {
if (collider.TryGetComponent(out Product product)) var product = collider.GetComponentInParent<Product>();
if (product)
{ {
if (enteredProducts.Contains(product)) if (enteredProducts.Contains(product))
{ {

View File

@ -0,0 +1,16 @@
using System;
[Flags]
public enum DefectType
{
None = 0,
Hex_MissingMaterial_1 = 1 << 0,
Hex_MissingMaterial_2 = 1 << 1,
Hex_MissingMaterial_3 = 1 << 2,
Hex_MissingMaterial_4 = 1 << 3,
Hex_MissingMaterial_5 = 1 << 4,
E_No_Cutout = 1 << 10,
E_Made_6 = 1 << 11,
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: e48fe9fec9d04b89a7d3e8878e55a054
timeCreated: 1723978865

View File

@ -0,0 +1,29 @@
using System.Collections.Generic;
using UnityEngine;
public class DefectMaterialVisualizer: MonoBehaviour, IDefectVisualizer
{
public MeshRenderer MeshRenderer;
private List<DefectType> supportedDefects = new()
{
DefectType.Hex_MissingMaterial_1,
DefectType.Hex_MissingMaterial_2,
DefectType.Hex_MissingMaterial_3,
DefectType.Hex_MissingMaterial_4,
DefectType.Hex_MissingMaterial_5,
};
public void VisualizeDefect(DefectType defectType)
{
for (var i = 0; i < supportedDefects.Count; i++)
{
if (!defectType.HasFlag(supportedDefects[i]))
{
continue;
}
MeshRenderer.materials[i] = GameAssets.Instance.MissingMaterial;
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 1432478c6b38458188a508ec961872f2
timeCreated: 1723979252

View File

@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using UnityEngine;
public class DefectMeshSelector: MonoBehaviour, IDefectVisualizer
{
public GameObject NormalPrefab;
[Serializable]
public struct PrefabVariant
{
public DefectType DefectType;
public GameObject Prefab;
}
public List<PrefabVariant> DefectivePrefabVariants;
public void VisualizeDefect(DefectType defectType)
{
if (defectType == DefectType.None)
{
NormalPrefab.SetActive(true);
foreach (var variant in DefectivePrefabVariants)
{
variant.Prefab.SetActive(false);
}
}
else
{
NormalPrefab.SetActive(false);
foreach (var variant in DefectivePrefabVariants)
{
variant.Prefab.SetActive(false);
if (defectType.HasFlag(variant.DefectType))
{
variant.Prefab.SetActive(true);
return;
}
}
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 168e96bc0e2e4ddfa90949e485bcd0cd
timeCreated: 1723979516

View File

@ -1,6 +0,0 @@
using UnityEngine;
public class DefectiveProduct : Product
{
}

View File

@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 05b73befcbdd4bbfaaee667a8da86b1f
timeCreated: 1723897738

View File

@ -0,0 +1,4 @@
public interface IDefectVisualizer
{
public void VisualizeDefect(DefectType defectType);
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8ffa14c7e9444d31898f9446de6628ea
timeCreated: 1723979215

View File

@ -2,5 +2,16 @@
public class Product : MonoBehaviour public class Product : MonoBehaviour
{ {
public ProductType Type;
public DefectType Defect;
public void ApplyDefect(DefectType defectType)
{
Defect = defectType;
foreach (var visualizer in GetComponents<IDefectVisualizer>())
{
visualizer.VisualizeDefect(defectType);
}
}
} }

View File

@ -2,8 +2,8 @@
using UnityEngine; using UnityEngine;
using Random = UnityEngine.Random; using Random = UnityEngine.Random;
[CreateAssetMenu(fileName = "New Product Description", menuName = "Data/Product Description", order = 0)] [CreateAssetMenu(fileName = "New Product Spawn Schedule", menuName = "Data/Product Spawn Schedule", order = 0)]
public class ProductDescription : ScriptableObject public class ProductSpawnSchedule : ScriptableObject
{ {
[Serializable] [Serializable]
public struct Product public struct Product

View File

@ -0,0 +1,45 @@
using System;
using UnityEngine;
using Random = UnityEngine.Random;
[CreateAssetMenu(fileName = "New Product Type", menuName = "Data/Product Type", order = 0)]
public class ProductType : ScriptableObject
{
public Product Prefab;
[Serializable]
public struct DefectProbability
{
public DefectType Defect;
[Range(0,100)]
public int Probability;
}
public DefectProbability[] DefectProbabilities;
public static void SpawnProduct(ProductType type, Transform origin)
{
var newProduct = Instantiate(type.Prefab, origin);
newProduct.Type = type;
newProduct.ApplyDefect(type.SelectDefect());
}
public DefectType SelectDefect()
{
float randomValue = Random.Range(0, 100);
float sum = 0;
for (var i = 0; i < DefectProbabilities.Length; i++)
{
var defect = DefectProbabilities[i];
sum += defect.Probability;
if (randomValue <= sum)
{
return defect.Defect;
}
}
return DefectType.None;
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: bcf4ec4eb272446d850eb3c9e72cd87f
timeCreated: 1723979773

BIN
Assets/Textures/scanner_texture.png (Stored with Git LFS) Normal file

Binary file not shown.