mirror of
https://github.com/nothke/quality-control.git
synced 2024-12-21 23:37:29 +00:00
Messing with meshes and object spawning
This commit is contained in:
parent
8e357f12d6
commit
a90c2400eb
20
Assets/Data/Types/Boxed E.asset
Normal file
20
Assets/Data/Types/Boxed E.asset
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
%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 E
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
Prefab: {fileID: 4275785426082247918, guid: b4f4c7d91f7d6bc4ebc212f3d2bb13ef, type: 3}
|
||||||
|
normalClips:
|
||||||
|
- {fileID: 0}
|
||||||
|
defectiveClips:
|
||||||
|
- {fileID: 0}
|
||||||
|
DefectProbabilities: []
|
8
Assets/Data/Types/Boxed E.asset.meta
Normal file
8
Assets/Data/Types/Boxed E.asset.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1e626f6e0e642b44aaeb77b6628c8be7
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
89
Assets/Materials/box_cardboard.mat
Normal file
89
Assets/Materials/box_cardboard.mat
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
%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: box_cardboard
|
||||||
|
m_Shader: {fileID: 4800000, guid: 11d9d9d8f92e31240b039d36a51ace4d, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
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: 0.061, y: 0.061}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 4e76002f02c7e8c4290fb7bf8cb0fdc1, type: 3}
|
||||||
|
m_Scale: {x: 0.061, y: 0.061}
|
||||||
|
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}
|
||||||
|
- _SpecGlossMap:
|
||||||
|
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
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 0.078125
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 0.81428593, b: 0.43867922, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
8
Assets/Materials/box_cardboard.mat.meta
Normal file
8
Assets/Materials/box_cardboard.mat.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2339d9a60c7e3604395c30980f633265
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
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.
1358
Assets/Prefabs/Conveyor/Product Converter 1.prefab
Normal file
1358
Assets/Prefabs/Conveyor/Product Converter 1.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Prefabs/Conveyor/Product Converter 1.prefab.meta
Normal file
7
Assets/Prefabs/Conveyor/Product Converter 1.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ae50320a2d4c84c4391086045d06a9c9
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -9,9 +9,8 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 2447222251883083429}
|
- component: {fileID: 2447222251883083429}
|
||||||
- component: {fileID: 6186656074767359943}
|
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Spawner
|
m_Name: Spawn 1
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@ -25,32 +24,13 @@ Transform:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 763885009470355671}
|
m_GameObject: {fileID: 763885009470355671}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
m_LocalRotation: {x: -0, y: -0.70710677, z: -0, w: 0.7071068}
|
||||||
m_LocalPosition: {x: 0, y: 1.07, z: 0}
|
m_LocalPosition: {x: 0, y: -0.295, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 9072778288000056937}
|
m_Father: {fileID: 9072778288000056937}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
|
||||||
--- !u!114 &6186656074767359943
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 763885009470355671}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 13fa2421a3e649448c929ac42745ad65, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
ProductionPhases:
|
|
||||||
- Type: 1
|
|
||||||
ProductType: {fileID: 11400000, guid: 42240b227563f074aa0dd8fee3c0cb35, type: 2}
|
|
||||||
Duration: 20
|
|
||||||
TotalSpawnCount: 8
|
|
||||||
_remainingDuration: 0
|
|
||||||
_spawnTimer: 0
|
|
||||||
--- !u!1 &2483613655511574791
|
--- !u!1 &2483613655511574791
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -61,6 +41,8 @@ GameObject:
|
|||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 9072778288000056937}
|
- component: {fileID: 9072778288000056937}
|
||||||
- component: {fileID: 1764412686729919076}
|
- component: {fileID: 1764412686729919076}
|
||||||
|
- component: {fileID: 6695070873418123376}
|
||||||
|
- component: {fileID: 368485817739561920}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Product Spawner
|
m_Name: Product Spawner
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -114,6 +96,41 @@ MonoBehaviour:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
z: 0
|
z: 0
|
||||||
|
--- !u!114 &6695070873418123376
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2483613655511574791}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 13fa2421a3e649448c929ac42745ad65, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
ProductionPhases:
|
||||||
|
- Type: 1
|
||||||
|
ProductType: {fileID: 11400000, guid: 42240b227563f074aa0dd8fee3c0cb35, type: 2}
|
||||||
|
Duration: 20
|
||||||
|
TotalSpawnCount: 8
|
||||||
|
Spawner: {fileID: 368485817739561920}
|
||||||
|
_remainingDuration: 0
|
||||||
|
_spawnTimer: 0
|
||||||
|
--- !u!114 &368485817739561920
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2483613655511574791}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d8b9c030eb764470a3082c1bae816ac0, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
PossibleOrientations:
|
||||||
|
- {fileID: 2447222251883083429}
|
||||||
|
yRotation: {x: -10, y: 10}
|
||||||
--- !u!1 &4554871642566179801
|
--- !u!1 &4554871642566179801
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -227,6 +244,162 @@ PrefabInstance:
|
|||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 9072778288000056937}
|
m_TransformParent: {fileID: 9072778288000056937}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
|
- target: {fileID: 43426445281552821, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 43426445281552821, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999982
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 43426445281552821, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 312693686294437253, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.5500004
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 312693686294437253, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 312693686294437253, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 2.362989
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 649890455188819431, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.000000029802322
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 649890455188819431, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999985
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 649890455188819431, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.000000029802322
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1091761675729692551, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.00000023841858
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1091761675729692551, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1258937290400076253, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1258937290400076253, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1682882067462405053, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.000000029802322
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1682882067462405053, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999985
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1682882067462405053, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.000000029802322
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1876025214544686047, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.5500007
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1876025214544686047, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1876025214544686047, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 2.119989
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2577711005101857983, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2577711005101857983, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999982
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2577711005101857983, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.00000017881393
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2637134807561977750, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2637134807561977750, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3069499310397916011, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3069499310397916011, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999982
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3069499310397916011, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.00000023841858
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3297051995612263017, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3297051995612263017, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999982
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3297051995612263017, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.00000023841858
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3582245894072890318, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.5499992
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3582245894072890318, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3582245894072890318, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 3.0999897
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3714835579521526729, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3714835579521526729, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3714835579521526729, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4387780396758393772, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4387780396758393772, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999985
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4387780396758393772, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.000000029802322
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 4410711669173934328, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
- target: {fileID: 4410711669173934328, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: strip_doors
|
value: strip_doors
|
||||||
@ -235,6 +408,94 @@ PrefabInstance:
|
|||||||
propertyPath: m_IsActive
|
propertyPath: m_IsActive
|
||||||
value: 1
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5152718953120426469, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5152718953120426469, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5205842297810839511, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5205842297810839511, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999988
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5205842297810839511, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5957258581609162173, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.5500011
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5957258581609162173, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5957258581609162173, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 1.8809886
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6224201472121049485, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6224201472121049485, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999982
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6224201472121049485, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6917064695313741279, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6917064695313741279, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999985
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6917064695313741279, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7042389867924793281, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.55
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7042389867924793281, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7042389867924793281, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 2.6089895
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7169896272210149318, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999982
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7169896272210149318, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.00000023841858
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7268163324934692079, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7268163324934692079, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7268163324934692079, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.00000035762787
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7314620182520817234, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
- target: {fileID: 7314620182520817234, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
propertyPath: m_LocalScale.y
|
propertyPath: m_LocalScale.y
|
||||||
value: 0.75
|
value: 0.75
|
||||||
@ -279,6 +540,110 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7699204670606094905, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7699204670606094905, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7847996141623031715, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7847996141623031715, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999982
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7890702188708889403, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7890702188708889403, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7890702188708889403, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8211180885515260087, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.5500016
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8211180885515260087, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8211180885515260087, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 1.64397
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8261126723324177923, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8261126723324177923, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999988
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8261126723324177923, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8400855762090060697, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 0.00000011920929
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8400855762090060697, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999976
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8501983497837895425, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999985
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8501983497837895425, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: -0.0000003874302
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8696215992477962083, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.5499988
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8696215992477962083, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8696215992477962083, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 3.3399894
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8980686930458525909, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: -0.000000059604645
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8980686930458525909, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 0.49999985
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8980686930458525909, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 0.00000023841858
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9220940263136788065, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.x
|
||||||
|
value: 2.5499995
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9220940263136788065, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.y
|
||||||
|
value: 2.8375
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 9220940263136788065, guid: 2309dc97898f5884fbb87ba691f13d1b, type: 3}
|
||||||
|
propertyPath: m_ConnectedAnchor.z
|
||||||
|
value: 2.8589895
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
|
849
Assets/Prefabs/Products/E/Boxed E.prefab
Normal file
849
Assets/Prefabs/Products/E/Boxed E.prefab
Normal file
@ -0,0 +1,849 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &1008549779170816984
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6383024645434441165}
|
||||||
|
- component: {fileID: 5913725421845161177}
|
||||||
|
- component: {fileID: 3231910556001295685}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Text 1
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6383024645434441165
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1008549779170816984}
|
||||||
|
m_LocalRotation: {x: -0.00000010424666, y: -0.0000000035797283, z: -0.034318794, w: 0.9994109}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: -0.211}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 270648843518875621}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: -3.933}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0.633}
|
||||||
|
m_SizeDelta: {x: 0.33, y: 0.66}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!23 &5913725421845161177
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1008549779170816984}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
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: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 3
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!114 &3231910556001295685
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1008549779170816984}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: E
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4279506074
|
||||||
|
m_fontColor: {r: 0.6037736, g: 0.0768957, b: 0.0768957, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 5
|
||||||
|
m_fontSizeBase: 5
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 1
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_enableWordWrapping: 1
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 0
|
||||||
|
m_linkedTextComponent: {fileID: 0}
|
||||||
|
parentLinkedComponent: {fileID: 0}
|
||||||
|
m_enableKerning: 1
|
||||||
|
m_enableExtraPadding: 0
|
||||||
|
checkPaddingRequired: 0
|
||||||
|
m_isRichText: 1
|
||||||
|
m_parseCtrlCharacters: 1
|
||||||
|
m_isOrthographic: 0
|
||||||
|
m_isCullingEnabled: 0
|
||||||
|
m_horizontalMapping: 0
|
||||||
|
m_verticalMapping: 0
|
||||||
|
m_uvLineOffset: 0
|
||||||
|
m_geometrySortingOrder: 0
|
||||||
|
m_IsTextObjectScaleStatic: 0
|
||||||
|
m_VertexBufferAutoSizeReduction: 0
|
||||||
|
m_useMaxVisibleDescender: 1
|
||||||
|
m_pageToDisplay: 1
|
||||||
|
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_isUsingLegacyAnimationComponent: 0
|
||||||
|
m_isVolumetricText: 0
|
||||||
|
_SortingLayer: 0
|
||||||
|
_SortingLayerID: 0
|
||||||
|
_SortingOrder: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_renderer: {fileID: 5913725421845161177}
|
||||||
|
m_maskType: 0
|
||||||
|
--- !u!1 &1049715951260459719
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6713460125902154205}
|
||||||
|
- component: {fileID: 5082346362402257882}
|
||||||
|
- component: {fileID: 5895591721535109577}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Box
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &6713460125902154205
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1049715951260459719}
|
||||||
|
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 &5082346362402257882
|
||||||
|
MeshFilter:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1049715951260459719}
|
||||||
|
m_Mesh: {fileID: 4768235060501221909, guid: 4c6f4b5005eaee14b8214635df8d4049, type: 3}
|
||||||
|
--- !u!23 &5895591721535109577
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1049715951260459719}
|
||||||
|
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}
|
||||||
|
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 &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: Boxed 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: 6383024645434441165}
|
||||||
|
- {fileID: 6688149787383194120}
|
||||||
|
- {fileID: 6713460125902154205}
|
||||||
|
- {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: 1024
|
||||||
|
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: 2100000, guid: 241446fb42920fe46b66d2b7e6127c28, type: 2}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 3
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!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: 2100000, guid: 241446fb42920fe46b66d2b7e6127c28, type: 2}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 3
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!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: 2100000, guid: 241446fb42920fe46b66d2b7e6127c28, type: 2}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 3
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!1 &7588217208418704804
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6688149787383194120}
|
||||||
|
- component: {fileID: 5070822703754197939}
|
||||||
|
- component: {fileID: 3234181826408660106}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Text 2
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6688149787383194120
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7588217208418704804}
|
||||||
|
m_LocalRotation: {x: -0.00000010424666, y: -0.0000000035797283, z: -0.034318794, w: 0.9994109}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: -0.211}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 270648843518875621}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: -3.933}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -0.009, y: 0.393}
|
||||||
|
m_SizeDelta: {x: 0.33, y: 0.66}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!23 &5070822703754197939
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7588217208418704804}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
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: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 3
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!114 &3234181826408660106
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7588217208418704804}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: '*****'
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4279506074
|
||||||
|
m_fontColor: {r: 0.6037736, g: 0.0768957, b: 0.0768957, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 1
|
||||||
|
m_fontSizeBase: 1
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 1
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_enableWordWrapping: 1
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 0
|
||||||
|
m_linkedTextComponent: {fileID: 0}
|
||||||
|
parentLinkedComponent: {fileID: 0}
|
||||||
|
m_enableKerning: 1
|
||||||
|
m_enableExtraPadding: 0
|
||||||
|
checkPaddingRequired: 0
|
||||||
|
m_isRichText: 1
|
||||||
|
m_parseCtrlCharacters: 1
|
||||||
|
m_isOrthographic: 0
|
||||||
|
m_isCullingEnabled: 0
|
||||||
|
m_horizontalMapping: 0
|
||||||
|
m_verticalMapping: 0
|
||||||
|
m_uvLineOffset: 0
|
||||||
|
m_geometrySortingOrder: 0
|
||||||
|
m_IsTextObjectScaleStatic: 0
|
||||||
|
m_VertexBufferAutoSizeReduction: 0
|
||||||
|
m_useMaxVisibleDescender: 1
|
||||||
|
m_pageToDisplay: 1
|
||||||
|
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_isUsingLegacyAnimationComponent: 0
|
||||||
|
m_isVolumetricText: 0
|
||||||
|
_SortingLayer: 0
|
||||||
|
_SortingLayerID: 0
|
||||||
|
_SortingOrder: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_renderer: {fileID: 5070822703754197939}
|
||||||
|
m_maskType: 0
|
7
Assets/Prefabs/Products/E/Boxed E.prefab.meta
Normal file
7
Assets/Prefabs/Products/E/Boxed E.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b4f4c7d91f7d6bc4ebc212f3d2bb13ef
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -4,6 +4,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
public class Converter: MonoBehaviour, IResetable
|
public class Converter: MonoBehaviour, IResetable
|
||||||
{
|
{
|
||||||
|
public ProductSpawner Spawner;
|
||||||
public List<Product> inputProducts;
|
public List<Product> inputProducts;
|
||||||
|
|
||||||
public ProductType expectedReagent;
|
public ProductType expectedReagent;
|
||||||
@ -61,7 +62,7 @@ public class Converter: MonoBehaviour, IResetable
|
|||||||
|
|
||||||
if (inputProducts[0].Type == expectedReagent)
|
if (inputProducts[0].Type == expectedReagent)
|
||||||
{
|
{
|
||||||
ProductType.SpawnProduct(conversionProduct, outputPoint);
|
Spawner.SpawnProduct(conversionProduct);
|
||||||
inputProducts.RemoveAt(0);
|
inputProducts.RemoveAt(0);
|
||||||
Destroy(currentProduct);
|
Destroy(currentProduct);
|
||||||
}
|
}
|
||||||
|
90
Assets/Scripts/Machines/ProductInput.cs
Normal file
90
Assets/Scripts/Machines/ProductInput.cs
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class ProductInput : MonoBehaviour, IResetable
|
||||||
|
{
|
||||||
|
public enum ProductionPhaseType
|
||||||
|
{
|
||||||
|
Pause = 0,
|
||||||
|
Production = 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public struct ProductionPhase
|
||||||
|
{
|
||||||
|
public ProductionPhaseType Type;
|
||||||
|
public ProductType ProductType;
|
||||||
|
[Min(1f)]
|
||||||
|
public float Duration;
|
||||||
|
[Min(1f)]
|
||||||
|
public float TotalSpawnCount;
|
||||||
|
|
||||||
|
public float SpawnInterval => Duration / TotalSpawnCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<ProductionPhase> ProductionPhases;
|
||||||
|
private List<ProductionPhase> RuntimeProductionPhases;
|
||||||
|
|
||||||
|
public ProductSpawner Spawner;
|
||||||
|
|
||||||
|
public float _remainingDuration;
|
||||||
|
public float _spawnTimer;
|
||||||
|
|
||||||
|
public void Start()
|
||||||
|
{
|
||||||
|
ResetMachine();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ResetMachine()
|
||||||
|
{
|
||||||
|
enabled = true;
|
||||||
|
_remainingDuration = 0f;
|
||||||
|
_spawnTimer = 0f;
|
||||||
|
|
||||||
|
RuntimeProductionPhases = new(ProductionPhases);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Update()
|
||||||
|
{
|
||||||
|
if (RuntimeProductionPhases.Count == 0)
|
||||||
|
{
|
||||||
|
enabled = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var currentPhase = RuntimeProductionPhases[0];
|
||||||
|
|
||||||
|
if (_remainingDuration <= 0)
|
||||||
|
{
|
||||||
|
_remainingDuration = currentPhase.Duration;
|
||||||
|
_spawnTimer = 0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
_remainingDuration -= Time.deltaTime;
|
||||||
|
|
||||||
|
if (currentPhase.Type != ProductionPhaseType.Pause)
|
||||||
|
{
|
||||||
|
_spawnTimer -= Time.deltaTime;
|
||||||
|
|
||||||
|
if (_spawnTimer >= 0f)
|
||||||
|
{
|
||||||
|
if (_remainingDuration <= 0)
|
||||||
|
{
|
||||||
|
RuntimeProductionPhases.RemoveAt(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
_spawnTimer = currentPhase.SpawnInterval;
|
||||||
|
|
||||||
|
Spawner.SpawnProduct(currentPhase.ProductType);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_remainingDuration <= 0)
|
||||||
|
{
|
||||||
|
RuntimeProductionPhases.RemoveAt(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
3
Assets/Scripts/Machines/ProductInput.cs.meta
Normal file
3
Assets/Scripts/Machines/ProductInput.cs.meta
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 13fa2421a3e649448c929ac42745ad65
|
||||||
|
timeCreated: 1723896826
|
@ -1,88 +1,19 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class ProductSpawner : MonoBehaviour, IResetable
|
public class ProductSpawner: MonoBehaviour
|
||||||
{
|
{
|
||||||
public enum ProductionPhaseType
|
public List<Transform> PossibleOrientations;
|
||||||
{
|
public Vector2 yRotation;
|
||||||
Pause = 0,
|
|
||||||
Production = 1,
|
|
||||||
}
|
|
||||||
|
|
||||||
[Serializable]
|
public void SpawnProduct(ProductType type)
|
||||||
public struct ProductionPhase
|
|
||||||
{
|
{
|
||||||
public ProductionPhaseType Type;
|
var randomIndex = Random.Range(0, PossibleOrientations.Count);
|
||||||
public ProductType ProductType;
|
var randomOrientation = PossibleOrientations[randomIndex];
|
||||||
[Min(1f)]
|
|
||||||
public float Duration;
|
|
||||||
[Min(1f)]
|
|
||||||
public float TotalSpawnCount;
|
|
||||||
|
|
||||||
public float SpawnInterval => Duration / TotalSpawnCount;
|
var rotation = Quaternion.AngleAxis(Random.Range(yRotation.x, yRotation.y), Vector3.up) *
|
||||||
|
randomOrientation.rotation;
|
||||||
|
|
||||||
|
ProductType.SpawnProduct(type, transform, randomOrientation.position, rotation);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public List<ProductionPhase> ProductionPhases;
|
|
||||||
private List<ProductionPhase> RuntimeProductionPhases;
|
|
||||||
|
|
||||||
public float _remainingDuration;
|
|
||||||
public float _spawnTimer;
|
|
||||||
|
|
||||||
public void Start()
|
|
||||||
{
|
|
||||||
ResetMachine();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ResetMachine()
|
|
||||||
{
|
|
||||||
enabled = true;
|
|
||||||
_remainingDuration = 0f;
|
|
||||||
_spawnTimer = 0f;
|
|
||||||
|
|
||||||
RuntimeProductionPhases = new(ProductionPhases);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
if (RuntimeProductionPhases.Count == 0)
|
|
||||||
{
|
|
||||||
enabled = false;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var currentPhase = RuntimeProductionPhases[0];
|
|
||||||
|
|
||||||
if (_remainingDuration <= 0)
|
|
||||||
{
|
|
||||||
_remainingDuration = currentPhase.Duration;
|
|
||||||
_spawnTimer = 0f;
|
|
||||||
}
|
|
||||||
|
|
||||||
_remainingDuration -= Time.deltaTime;
|
|
||||||
|
|
||||||
if (currentPhase.Type != ProductionPhaseType.Pause)
|
|
||||||
{
|
|
||||||
_spawnTimer -= Time.deltaTime;
|
|
||||||
|
|
||||||
if (_spawnTimer >= 0f)
|
|
||||||
{
|
|
||||||
if (_remainingDuration <= 0)
|
|
||||||
{
|
|
||||||
RuntimeProductionPhases.RemoveAt(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
_spawnTimer = currentPhase.SpawnInterval;
|
|
||||||
|
|
||||||
ProductType.SpawnProduct(currentPhase.ProductType, transform);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_remainingDuration <= 0)
|
|
||||||
{
|
|
||||||
RuntimeProductionPhases.RemoveAt(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +1,3 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 13fa2421a3e649448c929ac42745ad65
|
guid: d8b9c030eb764470a3082c1bae816ac0
|
||||||
timeCreated: 1723896826
|
timeCreated: 1724011784
|
@ -20,9 +20,9 @@ public class ProductType : ScriptableObject
|
|||||||
|
|
||||||
public DefectProbability[] DefectProbabilities;
|
public DefectProbability[] DefectProbabilities;
|
||||||
|
|
||||||
public static void SpawnProduct(ProductType type, Transform origin)
|
public static void SpawnProduct(ProductType type, Transform parent, Vector3 position, Quaternion rotation)
|
||||||
{
|
{
|
||||||
var newProduct = Instantiate(type.Prefab, origin);
|
var newProduct = Instantiate(type.Prefab, position, rotation, parent);
|
||||||
newProduct.Type = type;
|
newProduct.Type = type;
|
||||||
newProduct.ApplyDefect(type.SelectDefect());
|
newProduct.ApplyDefect(type.SelectDefect());
|
||||||
}
|
}
|
||||||
|
55
Assets/Shaders/Double Sided.shader
Normal file
55
Assets/Shaders/Double Sided.shader
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
Shader "Custom/Double Sided"
|
||||||
|
{
|
||||||
|
Properties
|
||||||
|
{
|
||||||
|
_Color ("Color", Color) = (1,1,1,1)
|
||||||
|
_MainTex ("Albedo (RGB)", 2D) = "white" {}
|
||||||
|
_Glossiness ("Smoothness", Range(0,1)) = 0.5
|
||||||
|
_Metallic ("Metallic", Range(0,1)) = 0.0
|
||||||
|
}
|
||||||
|
SubShader
|
||||||
|
{
|
||||||
|
Tags { "RenderType"="Opaque" }
|
||||||
|
LOD 200
|
||||||
|
|
||||||
|
Cull Off
|
||||||
|
|
||||||
|
CGPROGRAM
|
||||||
|
// Physically based Standard lighting model, and enable shadows on all light types
|
||||||
|
#pragma surface surf Standard fullforwardshadows
|
||||||
|
|
||||||
|
// Use shader model 3.0 target, to get nicer looking lighting
|
||||||
|
#pragma target 3.0
|
||||||
|
|
||||||
|
sampler2D _MainTex;
|
||||||
|
|
||||||
|
struct Input
|
||||||
|
{
|
||||||
|
float2 uv_MainTex;
|
||||||
|
};
|
||||||
|
|
||||||
|
half _Glossiness;
|
||||||
|
half _Metallic;
|
||||||
|
fixed4 _Color;
|
||||||
|
|
||||||
|
// Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader.
|
||||||
|
// See https://docs.unity3d.com/Manual/GPUInstancing.html for more information about instancing.
|
||||||
|
// #pragma instancing_options assumeuniformscaling
|
||||||
|
UNITY_INSTANCING_BUFFER_START(Props)
|
||||||
|
// put more per-instance properties here
|
||||||
|
UNITY_INSTANCING_BUFFER_END(Props)
|
||||||
|
|
||||||
|
void surf (Input IN, inout SurfaceOutputStandard o)
|
||||||
|
{
|
||||||
|
// Albedo comes from a texture tinted by color
|
||||||
|
fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
|
||||||
|
o.Albedo = c.rgb;
|
||||||
|
// Metallic and smoothness come from slider variables
|
||||||
|
o.Metallic = _Metallic;
|
||||||
|
o.Smoothness = _Glossiness;
|
||||||
|
o.Alpha = c.a;
|
||||||
|
}
|
||||||
|
ENDCG
|
||||||
|
}
|
||||||
|
FallBack "Diffuse"
|
||||||
|
}
|
9
Assets/Shaders/Double Sided.shader.meta
Normal file
9
Assets/Shaders/Double Sided.shader.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 11d9d9d8f92e31240b039d36a51ace4d
|
||||||
|
ShaderImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
defaultTextures: []
|
||||||
|
nonModifiableTextures: []
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in New Issue
Block a user