mirror of
https://github.com/nothke/quality-control.git
synced 2024-12-22 07:47:30 +00:00
Compare commits
6 Commits
e9dbc693be
...
d2686de669
Author | SHA1 | Date | |
---|---|---|---|
|
d2686de669 | ||
|
83e7d9987b | ||
|
6c6c98b525 | ||
|
1b0cf8d159 | ||
|
b58dc516e1 | ||
|
083b37cee3 |
@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Stage: 1
|
Stage: 1
|
||||||
Quotas:
|
Quotas:
|
||||||
- Type: {fileID: 11400000, guid: 42240b227563f074aa0dd8fee3c0cb35, type: 2}
|
- Type: {fileID: 11400000, guid: 6f11438f5cec6a24cb2a32fccc6244d1, type: 2}
|
||||||
Quantity: 10
|
Quantity: 10
|
||||||
TimeLimit: 60
|
TimeLimit: 60
|
||||||
MaxDefectivePercentage: 100
|
MaxDefectivePercentage: 100
|
||||||
|
@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Prefab: {fileID: 4275785426082247918, guid: b4f4c7d91f7d6bc4ebc212f3d2bb13ef, type: 3}
|
Prefab: {fileID: 4275785426082247918, guid: b4f4c7d91f7d6bc4ebc212f3d2bb13ef, type: 3}
|
||||||
normalClips:
|
normalClips:
|
||||||
- {fileID: 0}
|
- {fileID: 8300000, guid: 8f2502b0ea356614faad568cc2ce8d28, type: 3}
|
||||||
defectiveClips:
|
defectiveClips:
|
||||||
- {fileID: 0}
|
- {fileID: 8300000, guid: 8f2502b0ea356614faad568cc2ce8d28, type: 3}
|
||||||
DefectProbabilities: []
|
DefectProbabilities: []
|
||||||
|
32
Assets/Data/Types/Boxed Torus.asset
Normal file
32
Assets/Data/Types/Boxed Torus.asset
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
%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: Boxed Torus
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
Prefab: {fileID: 5301951847822309914, guid: b83fa12312697144992b762dc5084341, type: 3}
|
||||||
|
normalClips:
|
||||||
|
- {fileID: 8300000, guid: 8f2502b0ea356614faad568cc2ce8d28, type: 3}
|
||||||
|
defectiveClips:
|
||||||
|
- {fileID: 8300000, guid: 8f2502b0ea356614faad568cc2ce8d28, type: 3}
|
||||||
|
DefectProbabilities:
|
||||||
|
- Defect: 0
|
||||||
|
Probability: 50
|
||||||
|
- Defect: 1
|
||||||
|
Probability: 10
|
||||||
|
- Defect: 2
|
||||||
|
Probability: 10
|
||||||
|
- Defect: 4
|
||||||
|
Probability: 10
|
||||||
|
- Defect: 8
|
||||||
|
Probability: 10
|
||||||
|
- Defect: 16
|
||||||
|
Probability: 10
|
8
Assets/Data/Types/Boxed Torus.asset.meta
Normal file
8
Assets/Data/Types/Boxed Torus.asset.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6f11438f5cec6a24cb2a32fccc6244d1
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -14,7 +14,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Prefab: {fileID: 1892923323752838125, guid: 67d17fe30a51b794899db51da3f9fddb, type: 3}
|
Prefab: {fileID: 1892923323752838125, guid: 67d17fe30a51b794899db51da3f9fddb, type: 3}
|
||||||
normalClips:
|
normalClips:
|
||||||
- {fileID: 0}
|
- {fileID: 8300000, guid: 8f2502b0ea356614faad568cc2ce8d28, type: 3}
|
||||||
defectiveClips:
|
defectiveClips:
|
||||||
- {fileID: 0}
|
- {fileID: 8300000, guid: cb37dba8505a887438f4e1c8182106a0, type: 3}
|
||||||
DefectProbabilities: []
|
DefectProbabilities: []
|
||||||
|
@ -14,9 +14,9 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Prefab: {fileID: 4275785426082247918, guid: 14d16caaceafb634f87449e796c4543a, type: 3}
|
Prefab: {fileID: 4275785426082247918, guid: 14d16caaceafb634f87449e796c4543a, type: 3}
|
||||||
normalClips:
|
normalClips:
|
||||||
- {fileID: 0}
|
- {fileID: 8300000, guid: 8f2502b0ea356614faad568cc2ce8d28, type: 3}
|
||||||
defectiveClips:
|
defectiveClips:
|
||||||
- {fileID: 0}
|
- {fileID: 8300000, guid: cb37dba8505a887438f4e1c8182106a0, type: 3}
|
||||||
DefectProbabilities:
|
DefectProbabilities:
|
||||||
- Defect: 0
|
- Defect: 0
|
||||||
Probability: 50
|
Probability: 50
|
||||||
|
BIN
Assets/Meshes/conveyor_belt.fbx
(Stored with Git LFS)
Normal file
BIN
Assets/Meshes/conveyor_belt.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
109
Assets/Meshes/conveyor_belt.fbx.meta
Normal file
109
Assets/Meshes/conveyor_belt.fbx.meta
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 502febc85e7a7344bbbc56858fb0800c
|
||||||
|
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/products.fbx
(Stored with Git LFS)
BIN
Assets/Meshes/products.fbx
(Stored with Git LFS)
Binary file not shown.
@ -13,6 +13,7 @@ GameObject:
|
|||||||
- component: {fileID: 124551908420297706}
|
- component: {fileID: 124551908420297706}
|
||||||
- component: {fileID: 81410469953920030}
|
- component: {fileID: 81410469953920030}
|
||||||
- component: {fileID: 114014416615829144}
|
- component: {fileID: 114014416615829144}
|
||||||
|
- component: {fileID: 7178750885500314530}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: ExampleCamera
|
m_Name: ExampleCamera
|
||||||
m_TagString: MainCamera
|
m_TagString: MainCamera
|
||||||
@ -117,9 +118,9 @@ MonoBehaviour:
|
|||||||
Camera: {fileID: 20127477809793788}
|
Camera: {fileID: 20127477809793788}
|
||||||
FollowPointFraming: {x: 0, y: 0}
|
FollowPointFraming: {x: 0, y: 0}
|
||||||
FollowingSharpness: 10000
|
FollowingSharpness: 10000
|
||||||
DefaultDistance: 6
|
DefaultDistance: 0
|
||||||
MinDistance: 0
|
MinDistance: 0
|
||||||
MaxDistance: 10
|
MaxDistance: 0
|
||||||
DistanceMovementSpeed: 5
|
DistanceMovementSpeed: 5
|
||||||
DistanceMovementSharpness: 10
|
DistanceMovementSharpness: 10
|
||||||
InvertX: 0
|
InvertX: 0
|
||||||
@ -136,3 +137,63 @@ MonoBehaviour:
|
|||||||
m_Bits: 4294967295
|
m_Bits: 4294967295
|
||||||
ObstructionSharpness: 10000
|
ObstructionSharpness: 10000
|
||||||
IgnoredColliders: []
|
IgnoredColliders: []
|
||||||
|
--- !u!114 &7178750885500314530
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1937979026721672}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 948f4100a11a5c24981795d21301da5c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
volumeTrigger: {fileID: 4353896453404184}
|
||||||
|
volumeLayer:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 2
|
||||||
|
stopNaNPropagation: 1
|
||||||
|
finalBlitToCameraTarget: 0
|
||||||
|
antialiasingMode: 0
|
||||||
|
temporalAntialiasing:
|
||||||
|
jitterSpread: 0.75
|
||||||
|
sharpness: 0.25
|
||||||
|
stationaryBlending: 0.95
|
||||||
|
motionBlending: 0.85
|
||||||
|
subpixelMorphologicalAntialiasing:
|
||||||
|
quality: 2
|
||||||
|
fastApproximateAntialiasing:
|
||||||
|
fastMode: 0
|
||||||
|
keepAlpha: 0
|
||||||
|
fog:
|
||||||
|
enabled: 1
|
||||||
|
excludeSkybox: 1
|
||||||
|
debugLayer:
|
||||||
|
lightMeter:
|
||||||
|
width: 512
|
||||||
|
height: 256
|
||||||
|
showCurves: 1
|
||||||
|
histogram:
|
||||||
|
width: 512
|
||||||
|
height: 256
|
||||||
|
channel: 3
|
||||||
|
waveform:
|
||||||
|
exposure: 0.12
|
||||||
|
height: 256
|
||||||
|
vectorscope:
|
||||||
|
size: 256
|
||||||
|
exposure: 0.12
|
||||||
|
overlaySettings:
|
||||||
|
linearDepth: 0
|
||||||
|
motionColorIntensity: 4
|
||||||
|
motionGridSize: 64
|
||||||
|
colorBlindnessType: 0
|
||||||
|
colorBlindnessStrength: 1
|
||||||
|
m_Resources: {fileID: 11400000, guid: d82512f9c8e5d4a4d938b575d47f88d4, type: 2}
|
||||||
|
m_ShowToolkit: 0
|
||||||
|
m_ShowCustomSorter: 0
|
||||||
|
breakBeforeColorGrading: 0
|
||||||
|
m_BeforeTransparentBundles: []
|
||||||
|
m_BeforeStackBundles: []
|
||||||
|
m_AfterStackBundles: []
|
||||||
|
218
Assets/Prefabs/Conveyor/conveyor_belt.prefab
Normal file
218
Assets/Prefabs/Conveyor/conveyor_belt.prefab
Normal file
@ -0,0 +1,218 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1001 &5572158555090550032
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -7971335279024089277, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -7971335279024089277, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -7971335279024089277, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -7971335279024089277, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -2105158550846240100, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: conveyor_belt
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3254580497682912891, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3254580497682912891, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3254580497682912891, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3254580497682912891, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6151088482182509450, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6188777370344914758, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6188777370344914758, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6188777370344914758, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6188777370344914758, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8233884563343797830, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8233884563343797830, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8233884563343797830, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8233884563343797830, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents:
|
||||||
|
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 9037283188299472763}
|
||||||
|
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 2255208211353194181}
|
||||||
|
- targetCorrespondingSourceObject: {fileID: -5787282398619919814, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 2165745049158018032}
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
--- !u!23 &315550946383158131 stripped
|
||||||
|
MeshRenderer:
|
||||||
|
m_CorrespondingSourceObject: {fileID: -3948171127516846493, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 5572158555090550032}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1 &4725720213480161345 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 5572158555090550032}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!114 &9037283188299472763
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4725720213480161345}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: e0f1f2901f5dad644b6199c19a0e8cce, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
speed: 1
|
||||||
|
scrollingTextureSpeedMult: -0.5
|
||||||
|
scrollingTextureRenderer: {fileID: 315550946383158131}
|
||||||
|
--- !u!54 &2255208211353194181
|
||||||
|
Rigidbody:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4725720213480161345}
|
||||||
|
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: 1
|
||||||
|
m_Interpolate: 0
|
||||||
|
m_Constraints: 0
|
||||||
|
m_CollisionDetection: 0
|
||||||
|
--- !u!1 &7132358193445922602 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: -5787282398619919814, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 5572158555090550032}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!65 &2165745049158018032
|
||||||
|
BoxCollider:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7132358193445922602}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IncludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ExcludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_LayerOverridePriority: 0
|
||||||
|
m_IsTrigger: 0
|
||||||
|
m_ProvidesContacts: 0
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_Size: {x: 2, y: 0.37141055, z: 8}
|
||||||
|
m_Center: {x: 0, y: -0.18569306, z: 0}
|
7
Assets/Prefabs/Conveyor/conveyor_belt.prefab.meta
Normal file
7
Assets/Prefabs/Conveyor/conveyor_belt.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 77c4432b466fdea49b2742cc3018dd47
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
107
Assets/Prefabs/Conveyor/conveyor_pillar.prefab
Normal file
107
Assets/Prefabs/Conveyor/conveyor_pillar.prefab
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &2602843551399042680
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1375299215656799109}
|
||||||
|
- component: {fileID: 4943251159968227272}
|
||||||
|
- component: {fileID: 8223039090258719577}
|
||||||
|
- component: {fileID: 2788456426075378329}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: conveyor_pillar
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &1375299215656799109
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2602843551399042680}
|
||||||
|
serializedVersion: 2
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0.9266032, y: -0.5, z: 5.4150095}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!33 &4943251159968227272
|
||||||
|
MeshFilter:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2602843551399042680}
|
||||||
|
m_Mesh: {fileID: -4293639922430189380, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
--- !u!23 &8223039090258719577
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2602843551399042680}
|
||||||
|
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: 1866263028420156388, guid: 502febc85e7a7344bbbc56858fb0800c, 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!65 &2788456426075378329
|
||||||
|
BoxCollider:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2602843551399042680}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IncludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ExcludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_LayerOverridePriority: 0
|
||||||
|
m_IsTrigger: 0
|
||||||
|
m_ProvidesContacts: 0
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_Size: {x: 0.12392591, y: 1, z: 0.12392591}
|
||||||
|
m_Center: {x: -0.000000014901161, y: -0.5, z: 0.00000011920929}
|
7
Assets/Prefabs/Conveyor/conveyor_pillar.prefab.meta
Normal file
7
Assets/Prefabs/Conveyor/conveyor_pillar.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8f25050d9c8586a40b4e1f8f94b7d848
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
107
Assets/Prefabs/Conveyor/conveyor_pillar_base.prefab
Normal file
107
Assets/Prefabs/Conveyor/conveyor_pillar_base.prefab
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &5212716873096566151
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7457361478690061522}
|
||||||
|
- component: {fileID: 8752450760507581980}
|
||||||
|
- component: {fileID: 1703689758675071173}
|
||||||
|
- component: {fileID: 6298471305064194224}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: conveyor_pillar_base
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &7457361478690061522
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5212716873096566151}
|
||||||
|
serializedVersion: 2
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0.9227435, y: -1.7803359, z: 5.4141717}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!33 &8752450760507581980
|
||||||
|
MeshFilter:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5212716873096566151}
|
||||||
|
m_Mesh: {fileID: 3542685620091230411, guid: 502febc85e7a7344bbbc56858fb0800c, type: 3}
|
||||||
|
--- !u!23 &1703689758675071173
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5212716873096566151}
|
||||||
|
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: 1866263028420156388, guid: 502febc85e7a7344bbbc56858fb0800c, 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!65 &6298471305064194224
|
||||||
|
BoxCollider:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5212716873096566151}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IncludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ExcludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_LayerOverridePriority: 0
|
||||||
|
m_IsTrigger: 0
|
||||||
|
m_ProvidesContacts: 0
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_Size: {x: 0.3565868, y: 0.14830744, z: 0.356467}
|
||||||
|
m_Center: {x: 0.0019084215, y: 0.07365841, z: -0.0066660643}
|
7
Assets/Prefabs/Conveyor/conveyor_pillar_base.prefab.meta
Normal file
7
Assets/Prefabs/Conveyor/conveyor_pillar_base.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7b81abd2494676a46b2233f7dba3f656
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
73
Assets/Prefabs/Post-process Volume.prefab
Normal file
73
Assets/Prefabs/Post-process Volume.prefab
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &6289064268967972504
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1511826551152110795}
|
||||||
|
- component: {fileID: 1238621500291792833}
|
||||||
|
- component: {fileID: 7244891067657069796}
|
||||||
|
m_Layer: 1
|
||||||
|
m_Name: Post-process Volume
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &1511826551152110795
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6289064268967972504}
|
||||||
|
serializedVersion: 2
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: -38.52971, y: -2.2613883, z: -27.62179}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!65 &1238621500291792833
|
||||||
|
BoxCollider:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6289064268967972504}
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_IncludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ExcludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_LayerOverridePriority: 0
|
||||||
|
m_IsTrigger: 1
|
||||||
|
m_ProvidesContacts: 0
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_Size: {x: 1, y: 1, z: 1}
|
||||||
|
m_Center: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!114 &7244891067657069796
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6289064268967972504}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 8b9a305e18de0c04dbd257a21cd47087, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
sharedProfile: {fileID: 11400000, guid: 84e8adc158c3b6841b307ed8efd67d18, type: 2}
|
||||||
|
isGlobal: 1
|
||||||
|
blendDistance: 0
|
||||||
|
weight: 1
|
||||||
|
priority: 0
|
7
Assets/Prefabs/Post-process Volume.prefab.meta
Normal file
7
Assets/Prefabs/Post-process Volume.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 58e5d2135d6911d45849248b94a8e757
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
235
Assets/Prefabs/Products/Boxed Torus.prefab
Normal file
235
Assets/Prefabs/Products/Boxed Torus.prefab
Normal file
@ -0,0 +1,235 @@
|
|||||||
|
%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: 7822799079125698452}
|
||||||
|
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!65 &7822799079125698452
|
||||||
|
BoxCollider:
|
||||||
|
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: 3
|
||||||
|
m_Size: {x: 0.004330127, y: 0.0050499984, z: 0.0013171082}
|
||||||
|
m_Center: {x: 0, y: 0, z: 0.0006585541}
|
||||||
|
--- !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}
|
||||||
|
- component: {fileID: 5301951847822309914}
|
||||||
|
- component: {fileID: -6581473434499358903}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Boxed 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, z: 0}
|
||||||
|
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!114 &5301951847822309914
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7947812480369148219}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 813c296fdd6145aeaa5dfd4a2b2ca423, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
Type: {fileID: 0}
|
||||||
|
Defect: 0
|
||||||
|
--- !u!114 &-6581473434499358903
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7947812480369148219}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 3f1ba88558d742b9a6f1c78794058aba, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
manager: {fileID: 0}
|
||||||
|
info:
|
||||||
|
name:
|
||||||
|
rb: {fileID: 0}
|
||||||
|
rotateAroundPoint: 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: -7032348068582697493, 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: 2100000, guid: 2339d9a60c7e3604395c30980f633265, type: 2}
|
||||||
|
- {fileID: 2100000, guid: 54361f89cfee8b94d810c14a6beb11b5, type: 2}
|
||||||
|
- {fileID: 2100000, guid: 241446fb42920fe46b66d2b7e6127c28, type: 2}
|
||||||
|
- {fileID: -8449799927606533644, guid: bdea37ec281a49c45ae34b3c72e5c08d, 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}
|
7
Assets/Prefabs/Products/Boxed Torus.prefab.meta
Normal file
7
Assets/Prefabs/Products/Boxed Torus.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b83fa12312697144992b762dc5084341
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -321,7 +321,7 @@ GameObject:
|
|||||||
- component: {fileID: 6036007508636776569}
|
- component: {fileID: 6036007508636776569}
|
||||||
- component: {fileID: 4275785426082247918}
|
- component: {fileID: 4275785426082247918}
|
||||||
- component: {fileID: 8393139001085453593}
|
- component: {fileID: 8393139001085453593}
|
||||||
- component: {fileID: 7230423446829384199}
|
- component: {fileID: 6470434188345047876}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Boxed E
|
m_Name: Boxed E
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -410,7 +410,7 @@ MonoBehaviour:
|
|||||||
Prefab: {fileID: 5823832367352199241}
|
Prefab: {fileID: 5823832367352199241}
|
||||||
- DefectType: 1024
|
- DefectType: 1024
|
||||||
Prefab: {fileID: 6807509591159707237}
|
Prefab: {fileID: 6807509591159707237}
|
||||||
--- !u!114 &7230423446829384199
|
--- !u!114 &6470434188345047876
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@ -419,7 +419,7 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 3486484010427172590}
|
m_GameObject: {fileID: 3486484010427172590}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: cf9152fd8b7951445bef5e6f0778fd53, type: 3}
|
m_Script: {fileID: 11500000, guid: 3f1ba88558d742b9a6f1c78794058aba, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
manager: {fileID: 0}
|
manager: {fileID: 0}
|
||||||
|
@ -64,8 +64,8 @@ GameObject:
|
|||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 270648843518875621}
|
- component: {fileID: 270648843518875621}
|
||||||
- component: {fileID: 6036007508636776569}
|
- component: {fileID: 6036007508636776569}
|
||||||
- component: {fileID: 3204487457196456735}
|
|
||||||
- component: {fileID: 1892923323752838125}
|
- component: {fileID: 1892923323752838125}
|
||||||
|
- component: {fileID: 7543791872186549401}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Original E
|
m_Name: Original E
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -117,23 +117,6 @@ Rigidbody:
|
|||||||
m_Interpolate: 0
|
m_Interpolate: 0
|
||||||
m_Constraints: 0
|
m_Constraints: 0
|
||||||
m_CollisionDetection: 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
|
--- !u!114 &1892923323752838125
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -148,6 +131,23 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Type: {fileID: 0}
|
Type: {fileID: 0}
|
||||||
Defect: 0
|
Defect: 0
|
||||||
|
--- !u!114 &7543791872186549401
|
||||||
|
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: 3f1ba88558d742b9a6f1c78794058aba, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
manager: {fileID: 0}
|
||||||
|
info:
|
||||||
|
name:
|
||||||
|
rb: {fileID: 0}
|
||||||
|
rotateAroundPoint: 0
|
||||||
--- !u!1 &6512547544738721002
|
--- !u!1 &6512547544738721002
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -66,7 +66,7 @@ GameObject:
|
|||||||
- component: {fileID: 6036007508636776569}
|
- component: {fileID: 6036007508636776569}
|
||||||
- component: {fileID: 4275785426082247918}
|
- component: {fileID: 4275785426082247918}
|
||||||
- component: {fileID: 8393139001085453593}
|
- component: {fileID: 8393139001085453593}
|
||||||
- component: {fileID: 7230423446829384199}
|
- component: {fileID: 1452030678369129413}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Produced E
|
m_Name: Produced E
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -152,7 +152,7 @@ MonoBehaviour:
|
|||||||
Prefab: {fileID: 5823832367352199241}
|
Prefab: {fileID: 5823832367352199241}
|
||||||
- DefectType: 1024
|
- DefectType: 1024
|
||||||
Prefab: {fileID: 6807509591159707237}
|
Prefab: {fileID: 6807509591159707237}
|
||||||
--- !u!114 &7230423446829384199
|
--- !u!114 &1452030678369129413
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@ -161,7 +161,7 @@ MonoBehaviour:
|
|||||||
m_GameObject: {fileID: 3486484010427172590}
|
m_GameObject: {fileID: 3486484010427172590}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: cf9152fd8b7951445bef5e6f0778fd53, type: 3}
|
m_Script: {fileID: 11500000, guid: 3f1ba88558d742b9a6f1c78794058aba, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
manager: {fileID: 0}
|
manager: {fileID: 0}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1314,24 +1314,13 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 114014416615829144, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
|
||||||
propertyPath: MaxDistance
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 114014416615829144, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
|
||||||
propertyPath: DefaultDistance
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects:
|
m_AddedGameObjects:
|
||||||
- targetCorrespondingSourceObject: {fileID: 4353896453404184, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
- targetCorrespondingSourceObject: {fileID: 4353896453404184, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 1016565318}
|
addedObject: {fileID: 1016565318}
|
||||||
m_AddedComponents:
|
m_AddedComponents: []
|
||||||
- targetCorrespondingSourceObject: {fileID: 1937979026721672, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
|
||||||
insertIndex: -1
|
|
||||||
addedObject: {fileID: 2085744662}
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
||||||
--- !u!1001 &256176594
|
--- !u!1001 &256176594
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
@ -2202,7 +2191,7 @@ MonoBehaviour:
|
|||||||
m_CorrespondingSourceObject: {fileID: 114014416615829144, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
m_CorrespondingSourceObject: {fileID: 114014416615829144, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
||||||
m_PrefabInstance: {fileID: 236143043}
|
m_PrefabInstance: {fileID: 236143043}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1863262758}
|
m_GameObject: {fileID: 0}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 24092a40b02616e479baeb940325e339, type: 3}
|
m_Script: {fileID: 11500000, guid: 24092a40b02616e479baeb940325e339, type: 3}
|
||||||
@ -4997,77 +4986,6 @@ Transform:
|
|||||||
m_CorrespondingSourceObject: {fileID: 4244585904609737771, guid: a8d04b03af86c7c4591a93015362a09e, type: 3}
|
m_CorrespondingSourceObject: {fileID: 4244585904609737771, guid: a8d04b03af86c7c4591a93015362a09e, type: 3}
|
||||||
m_PrefabInstance: {fileID: 884053556}
|
m_PrefabInstance: {fileID: 884053556}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1 &893515019
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 893515022}
|
|
||||||
- component: {fileID: 893515021}
|
|
||||||
- component: {fileID: 893515020}
|
|
||||||
m_Layer: 1
|
|
||||||
m_Name: Post-process Volume
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &893515020
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 893515019}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 8b9a305e18de0c04dbd257a21cd47087, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
sharedProfile: {fileID: 11400000, guid: 84e8adc158c3b6841b307ed8efd67d18, type: 2}
|
|
||||||
isGlobal: 1
|
|
||||||
blendDistance: 0
|
|
||||||
weight: 1
|
|
||||||
priority: 0
|
|
||||||
--- !u!65 &893515021
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 893515019}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 1
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Size: {x: 1, y: 1, z: 1}
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!4 &893515022
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 893515019}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: -38.52971, y: -2.2613883, z: -27.62179}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!4 &918908426 stripped
|
--- !u!4 &918908426 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 4244585904609737771, guid: a8d04b03af86c7c4591a93015362a09e, type: 3}
|
m_CorrespondingSourceObject: {fileID: 4244585904609737771, guid: a8d04b03af86c7c4591a93015362a09e, type: 3}
|
||||||
@ -10705,11 +10623,6 @@ Transform:
|
|||||||
m_CorrespondingSourceObject: {fileID: 8211746662643636412, guid: 6cc5a6f23c269bd4e824a0fad1cc9983, type: 3}
|
m_CorrespondingSourceObject: {fileID: 8211746662643636412, guid: 6cc5a6f23c269bd4e824a0fad1cc9983, type: 3}
|
||||||
m_PrefabInstance: {fileID: 1851031242}
|
m_PrefabInstance: {fileID: 1851031242}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1 &1863262758 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 1937979026721672, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 236143043}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!1001 &1869546719
|
--- !u!1001 &1869546719
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -11601,66 +11514,6 @@ Transform:
|
|||||||
m_CorrespondingSourceObject: {fileID: 4353896453404184, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
m_CorrespondingSourceObject: {fileID: 4353896453404184, guid: c75e91cf060bbf04e89204fa400606df, type: 3}
|
||||||
m_PrefabInstance: {fileID: 236143043}
|
m_PrefabInstance: {fileID: 236143043}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!114 &2085744662
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1863262758}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 948f4100a11a5c24981795d21301da5c, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
volumeTrigger: {fileID: 2085744658}
|
|
||||||
volumeLayer:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 2
|
|
||||||
stopNaNPropagation: 1
|
|
||||||
finalBlitToCameraTarget: 0
|
|
||||||
antialiasingMode: 0
|
|
||||||
temporalAntialiasing:
|
|
||||||
jitterSpread: 0.75
|
|
||||||
sharpness: 0.25
|
|
||||||
stationaryBlending: 0.95
|
|
||||||
motionBlending: 0.85
|
|
||||||
subpixelMorphologicalAntialiasing:
|
|
||||||
quality: 2
|
|
||||||
fastApproximateAntialiasing:
|
|
||||||
fastMode: 0
|
|
||||||
keepAlpha: 0
|
|
||||||
fog:
|
|
||||||
enabled: 1
|
|
||||||
excludeSkybox: 1
|
|
||||||
debugLayer:
|
|
||||||
lightMeter:
|
|
||||||
width: 512
|
|
||||||
height: 256
|
|
||||||
showCurves: 1
|
|
||||||
histogram:
|
|
||||||
width: 512
|
|
||||||
height: 256
|
|
||||||
channel: 3
|
|
||||||
waveform:
|
|
||||||
exposure: 0.12
|
|
||||||
height: 256
|
|
||||||
vectorscope:
|
|
||||||
size: 256
|
|
||||||
exposure: 0.12
|
|
||||||
overlaySettings:
|
|
||||||
linearDepth: 0
|
|
||||||
motionColorIntensity: 4
|
|
||||||
motionGridSize: 64
|
|
||||||
colorBlindnessType: 0
|
|
||||||
colorBlindnessStrength: 1
|
|
||||||
m_Resources: {fileID: 11400000, guid: d82512f9c8e5d4a4d938b575d47f88d4, type: 2}
|
|
||||||
m_ShowToolkit: 0
|
|
||||||
m_ShowCustomSorter: 0
|
|
||||||
breakBeforeColorGrading: 0
|
|
||||||
m_BeforeTransparentBundles: []
|
|
||||||
m_BeforeStackBundles: []
|
|
||||||
m_AfterStackBundles: []
|
|
||||||
--- !u!1001 &2087523501
|
--- !u!1001 &2087523501
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -12693,6 +12546,63 @@ Transform:
|
|||||||
m_CorrespondingSourceObject: {fileID: 2022001840550943476, guid: 8c365f438e647ef418423a089b351431, type: 3}
|
m_CorrespondingSourceObject: {fileID: 2022001840550943476, guid: 8c365f438e647ef418423a089b351431, type: 3}
|
||||||
m_PrefabInstance: {fileID: 2546256488725616038}
|
m_PrefabInstance: {fileID: 2546256488725616038}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &8406867706445030636
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: -38.52971
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: -2.2613883
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: -27.62179
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1511826551152110795, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6289064268967972504, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: Post-process Volume
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 58e5d2135d6911d45849248b94a8e757, type: 3}
|
||||||
--- !u!4 &8976322741549550249 stripped
|
--- !u!4 &8976322741549550249 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 8211746662643636412, guid: 6cc5a6f23c269bd4e824a0fad1cc9983, type: 3}
|
m_CorrespondingSourceObject: {fileID: 8211746662643636412, guid: 6cc5a6f23c269bd4e824a0fad1cc9983, type: 3}
|
||||||
@ -12732,4 +12642,4 @@ SceneRoots:
|
|||||||
- {fileID: 5703811571036744290}
|
- {fileID: 5703811571036744290}
|
||||||
- {fileID: 5714730271565595276}
|
- {fileID: 5714730271565595276}
|
||||||
- {fileID: 450349177}
|
- {fileID: 450349177}
|
||||||
- {fileID: 893515022}
|
- {fileID: 8406867706445030636}
|
||||||
|
2942
Assets/Scenes/test_new_conveyor.unity
Normal file
2942
Assets/Scenes/test_new_conveyor.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Scenes/test_new_conveyor.unity.meta
Normal file
7
Assets/Scenes/test_new_conveyor.unity.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8f1664598a9d42d4d859f06e1aa84514
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -19,7 +19,7 @@ public class ConveyorBelt : MonoBehaviour
|
|||||||
{
|
{
|
||||||
startPosition = rb.position;
|
startPosition = rb.position;
|
||||||
|
|
||||||
scrollingTextureSpeedMult = -0.1625f * speed;
|
//scrollingTextureSpeedMult = -0.1625f * speed;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void FixedUpdate()
|
private void FixedUpdate()
|
||||||
|
@ -22,6 +22,8 @@ public class HammerableRigidbody: RigidbodyInteractable
|
|||||||
}
|
}
|
||||||
|
|
||||||
var clip = product.Type.SelectClip(product.Defect != DefectType.None);
|
var clip = product.Type.SelectClip(product.Defect != DefectType.None);
|
||||||
NAudio.Play(clip, transform.position);
|
clip.Play(
|
||||||
|
transform.position,
|
||||||
|
Random.Range(0.8f, 1.2f));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -62,7 +62,7 @@ public class Converter: MonoBehaviour, IResetable
|
|||||||
|
|
||||||
if (inputProducts[0].Type == expectedReagent)
|
if (inputProducts[0].Type == expectedReagent)
|
||||||
{
|
{
|
||||||
Spawner.SpawnProduct(conversionProduct);
|
Spawner.SpawnProduct(conversionProduct, currentProduct.Defect);
|
||||||
inputProducts.RemoveAt(0);
|
inputProducts.RemoveAt(0);
|
||||||
Destroy(currentProduct);
|
Destroy(currentProduct);
|
||||||
}
|
}
|
109
Assets/Scripts/Machines/DoubleConverter.cs
Normal file
109
Assets/Scripts/Machines/DoubleConverter.cs
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.Serialization;
|
||||||
|
|
||||||
|
public class DoubleConverter: MonoBehaviour, IResetable
|
||||||
|
{
|
||||||
|
public ProductSpawner Spawner;
|
||||||
|
public List<Product> inputTypeOne;
|
||||||
|
public List<Product> inputTypeTwo;
|
||||||
|
public List<Product> refuse;
|
||||||
|
|
||||||
|
public ProductType expectedReagentA;
|
||||||
|
public ProductType expectedReagentB;
|
||||||
|
public ProductType conversionProduct;
|
||||||
|
|
||||||
|
public int CurrentHealth;
|
||||||
|
public int MaxHealth;
|
||||||
|
|
||||||
|
public float conversionDuration = 5f;
|
||||||
|
private float _conversionTimer;
|
||||||
|
|
||||||
|
public Transform refuseLauncher;
|
||||||
|
public float launchPower = 5f;
|
||||||
|
|
||||||
|
public void OnTriggerEnter(Collider other)
|
||||||
|
{
|
||||||
|
var product = other.GetComponentInParent<Product>();
|
||||||
|
|
||||||
|
product.gameObject.SetActive(false);
|
||||||
|
|
||||||
|
if (product.Type == expectedReagentA)
|
||||||
|
{
|
||||||
|
inputTypeOne.Add(product);
|
||||||
|
}
|
||||||
|
else if (product.Type == expectedReagentB)
|
||||||
|
{
|
||||||
|
inputTypeTwo.Add(product);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
refuse.Add(product);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Start()
|
||||||
|
{
|
||||||
|
ResetMachine();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ResetMachine()
|
||||||
|
{
|
||||||
|
_conversionTimer = conversionDuration;
|
||||||
|
CurrentHealth = MaxHealth;
|
||||||
|
|
||||||
|
inputTypeOne.Clear();
|
||||||
|
inputTypeTwo.Clear();
|
||||||
|
refuse.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Update()
|
||||||
|
{
|
||||||
|
if (CurrentHealth <= 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (refuse.Count == 0 && inputTypeOne.Count == 0 && inputTypeTwo.Count == 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_conversionTimer <= 0f)
|
||||||
|
{
|
||||||
|
if (refuse.Count > 0)
|
||||||
|
{
|
||||||
|
Expel(refuse[0]);
|
||||||
|
refuse.RemoveAt(0);
|
||||||
|
_conversionTimer = conversionDuration;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (inputTypeOne.Count > 0 && inputTypeTwo.Count > 0)
|
||||||
|
{
|
||||||
|
DefectType defectType = inputTypeOne[0].Defect & inputTypeTwo[0].Defect;
|
||||||
|
|
||||||
|
inputTypeOne.RemoveAt(0);
|
||||||
|
inputTypeTwo.RemoveAt(0);
|
||||||
|
|
||||||
|
Spawner.SpawnProduct(conversionProduct, defectType);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
_conversionTimer = conversionDuration;
|
||||||
|
}
|
||||||
|
|
||||||
|
_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;
|
||||||
|
}
|
||||||
|
}
|
3
Assets/Scripts/Machines/DoubleConverter.cs.meta
Normal file
3
Assets/Scripts/Machines/DoubleConverter.cs.meta
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 21ca672126964be89347e6086e077f6b
|
||||||
|
timeCreated: 1724019415
|
@ -16,4 +16,15 @@ public class ProductSpawner: MonoBehaviour
|
|||||||
|
|
||||||
ProductType.SpawnProduct(type, transform, randomOrientation.position, rotation);
|
ProductType.SpawnProduct(type, transform, randomOrientation.position, rotation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SpawnProduct(ProductType type, DefectType defect)
|
||||||
|
{
|
||||||
|
var randomIndex = Random.Range(0, PossibleOrientations.Count);
|
||||||
|
var randomOrientation = PossibleOrientations[randomIndex];
|
||||||
|
|
||||||
|
var rotation = Quaternion.AngleAxis(Random.Range(yRotation.x, yRotation.y), Vector3.up) *
|
||||||
|
randomOrientation.rotation;
|
||||||
|
|
||||||
|
ProductType.SpawnProduct(type, defect, transform, randomOrientation.position, rotation);
|
||||||
|
}
|
||||||
}
|
}
|
@ -27,6 +27,13 @@ public class ProductType : ScriptableObject
|
|||||||
newProduct.ApplyDefect(type.SelectDefect());
|
newProduct.ApplyDefect(type.SelectDefect());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void SpawnProduct(ProductType type, DefectType defect, Transform parent, Vector3 position, Quaternion rotation)
|
||||||
|
{
|
||||||
|
var newProduct = Instantiate(type.Prefab, position, rotation, parent);
|
||||||
|
newProduct.Type = type;
|
||||||
|
newProduct.ApplyDefect(defect);
|
||||||
|
}
|
||||||
|
|
||||||
public DefectType SelectDefect()
|
public DefectType SelectDefect()
|
||||||
{
|
{
|
||||||
float randomValue = Random.Range(0, 100);
|
float randomValue = Random.Range(0, 100);
|
||||||
|
Loading…
Reference in New Issue
Block a user