添加智能仓储

This commit is contained in:
SnowShow 2025-04-23 18:27:41 +08:00
parent 785a58392e
commit 79e0162bd9
87 changed files with 260196 additions and 797 deletions

View File

@ -66,6 +66,19 @@ SpriteAtlasImporter:
ignorePlatformSupport: 0 ignorePlatformSupport: 0
androidETC2FallbackOverride: 0 androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0 forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: iOS
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 49
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4 - serializedVersion: 4
buildTarget: iPhone buildTarget: iPhone
maxTextureSize: 2048 maxTextureSize: 2048

View File

@ -1,5 +1,6 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 66f44ced3d1da6e479954c0dc41e0d43 guid: a116b80b14c3f38479596ec25baca332
folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,4 +1,4 @@
# Blender 4.3.2 MTL File: '原材料吨包段动画.blend' # Blender 4.4.1 MTL File: 'None'
# www.blender.org # www.blender.org
newmtl YIFI-buxiugang newmtl YIFI-buxiugang
@ -11,26 +11,6 @@ Ni 1.450000
d 1.000000 d 1.000000
illum 3 illum 3
newmtl black_metallic
Ns 902.500000
Ka 0.886364 0.886364 0.886364
Kd 0.024610 0.024610 0.024610
Ks 0.700000 0.700000 0.700000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3
newmtl black_tube
Ns 490.000000
Ka 0.450000 0.450000 0.450000
Kd 0.006310 0.006310 0.006310
Ks 0.700000 0.700000 0.700000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3
newmtl dark_green_matte newmtl dark_green_matte
Ns 0.000000 Ns 0.000000
Ka 1.000000 1.000000 1.000000 Ka 1.000000 1.000000 1.000000
@ -51,66 +31,6 @@ Ni 1.450000
d 1.000000 d 1.000000
illum 2 illum 2
newmtl green
Ns 282.830566
Ka 1.000000 1.000000 1.000000
Kd 0.025538 0.328967 0.021677
Ks 0.700000 0.700000 0.700000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl grey
Ns 376.549591
Ka 1.000000 1.000000 1.000000
Kd 0.339161 0.339161 0.339161
Ks 0.700000 0.700000 0.700000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl medium_grey
Ns 26.776846
Ka 0.263636 0.263636 0.263636
Kd 0.573825 0.573825 0.573825
Ks 0.700000 0.700000 0.700000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3
newmtl orange_metallic
Ns 810.000000
Ka 0.900000 0.900000 0.900000
Kd 0.612066 0.217638 0.001373
Ks 0.700000 0.700000 0.700000
Ke 0.612066 0.217638 0.001373
Ni 1.450000
d 1.000000
illum 3
newmtl red
Ns 393.471069
Ka 1.000000 1.000000 1.000000
Kd 0.596632 0.014199 0.014199
Ks 0.700000 0.700000 0.700000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl yellow
Ns 502.809875
Ka 1.000000 1.000000 1.000000
Kd 1.000000 0.771377 0.000000
Ks 0.700000 0.700000 0.700000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl 人造塑料杆 newmtl 人造塑料杆
Ns 774.400024 Ns 774.400024
Ka 1.000000 1.000000 1.000000 Ka 1.000000 1.000000 1.000000
@ -152,7 +72,7 @@ d 1.000000
illum 2 illum 2
newmtl 拉丝不锈钢 newmtl 拉丝不锈钢
Ns 699.504150 Ns 699.504089
Ka 0.950000 0.950000 0.950000 Ka 0.950000 0.950000 0.950000
Kd 0.600000 0.573971 0.554069 Kd 0.600000 0.573971 0.554069
Ks 0.490909 0.490909 0.490909 Ks 0.490909 0.490909 0.490909
@ -161,26 +81,6 @@ Ni 1.450000
d 1.000000 d 1.000000
illum 3 illum 3
newmtl 材质.009
Ns 640.000000
Ka 1.000000 1.000000 1.000000
Kd 0.746037 0.365593 0.100123
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
newmtl 白色塑料
Ns 87.293396
Ka 0.200000 0.200000 0.200000
Kd 1.000000 1.000000 1.000000
Ks 0.136364 0.136364 0.136364
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3
newmtl 红玻璃 newmtl 红玻璃
Ns 360.000000 Ns 360.000000
Ka 1.000000 1.000000 1.000000 Ka 1.000000 1.000000 1.000000
@ -199,7 +99,7 @@ Ke 0.000000 0.000000 0.000000
Ni 1.450000 Ni 1.450000
d 1.000000 d 1.000000
illum 2 illum 2
map_Ns C:/Cardboard002_2K_Roughness.jpg map_Ns 货架/C:/Cardboard002_2K_Roughness.jpg
newmtl 蓝色托盘 newmtl 蓝色托盘
Ns 1000.000000 Ns 1000.000000
@ -250,23 +150,3 @@ Ke 0.000000 0.000000 0.000000
Ni 1.450000 Ni 1.450000
d 1.000000 d 1.000000
illum 3 illum 3
newmtl 黑色塑料.002
Ns 87.293396
Ka 0.200000 0.200000 0.200000
Kd 0.076922 0.076922 0.076922
Ks 0.136364 0.136364 0.136364
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3
newmtl 黑色塑料.003
Ns 240.991745
Ka 0.200000 0.200000 0.200000
Kd 0.109907 0.109907 0.109907
Ks 0.136364 0.136364 0.136364
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 8811bee4600d72b448cfbe229915d4bb guid: b6e44400bb47263458d64e8b7d9167fd
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -1,5 +1,6 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 7d1083877b3838042b9e91b249731b89 guid: b8cbc94ac7dd3a44295417358c515441
folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

Binary file not shown.

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 6c967f465d07a53489166c3f08114911 guid: 8f2686c05a6f1e943aefda5a0c851a47
ModelImporter: ModelImporter:
serializedVersion: 22200 serializedVersion: 22200
internalIDToNameTable: [] internalIDToNameTable: []

View File

@ -1,5 +1,6 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 59d63bcae2fecff42be7b4fc8b1df10f guid: 72118fe278d9c274a91f34bc1bf2dd57
folderAsset: yes
DefaultImporter: DefaultImporter:
externalObjects: {} externalObjects: {}
userData: userData:

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 14515f8505976b04fbdd66ddc61a661c guid: 1254df46755639f41bc35e63f4401c3a
PrefabImporter: PrefabImporter:
externalObjects: {} externalObjects: {}
userData: userData:

View File

@ -0,0 +1,116 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2649204120599136808
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 652651322306016017}
- component: {fileID: 7835161594234593618}
- component: {fileID: 4663288065115125543}
- component: {fileID: 6747329953502521989}
- component: {fileID: 8476177343491432627}
m_Layer: 0
m_Name: actor_box
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &652651322306016017
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
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: 0.68803996, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7835161594234593618
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
m_Mesh: {fileID: -3262789968867269347, guid: 8f2686c05a6f1e943aefda5a0c851a47, type: 3}
--- !u!23 &4663288065115125543
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
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_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 290fe713fab70a94cb9636fbbfbe0c54, 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 &6747329953502521989
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b4d757caf7d3b734097222388ab3a309, type: 3}
m_Name:
m_EditorClassIdentifier:
index: 0
--- !u!114 &8476177343491432627
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bac1e67b934ef0944b6de46554cf5042, type: 3}
m_Name:
m_EditorClassIdentifier:
_id: 0

View File

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

View File

@ -0,0 +1,136 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-3413519579704361136
MonoBehaviour:
m_ObjectHideFlags: 11
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 9
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mat_actorBox
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 1
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 0
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.5660378, g: 0.3186711, b: 0.06140977, a: 1}
- _Color: {r: 0.5660378, g: 0.3186711, b: 0.06140977, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

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

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3518ac053c1e1d94c93d26984ffe4589
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 36300000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 876645020282cac46a6c37195cd6a94a
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 4e7f2050f615fb9488bb4bc8978d695c, type: 3}

View File

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

View File

@ -0,0 +1,16 @@
using UnityEngine;
public class BoxGeneratorFactory : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 61379452953af9743a1c6f0736dec020

View File

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

View File

@ -1,6 +1,6 @@
%YAML 1.1 %YAML 1.1
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!1 &1953341725052257094 --- !u!1 &4161702286388442030
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -8,47 +8,47 @@ GameObject:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 6424758063307255349} - component: {fileID: 1238749166452997724}
- component: {fileID: 8490144700851145232} - component: {fileID: 8322283032276790737}
- component: {fileID: 8810305637038458871} - component: {fileID: 389142437370942226}
- component: {fileID: 3431397482178559869} - component: {fileID: 3205580219543720578}
m_Layer: 0 m_Layer: 0
m_Name: Cube m_Name: Plane
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!4 &6424758063307255349 --- !u!4 &1238749166452997724
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1953341725052257094} m_GameObject: {fileID: 4161702286388442030}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} serializedVersion: 2
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalPosition: {x: 79.06149, y: 2.379333, z: 5.2261834}
m_LocalScale: {x: 0.14544705, y: 0.14544705, z: 0.14544705}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &8322283032276790737
--- !u!33 &8490144700851145232
MeshFilter: MeshFilter:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1953341725052257094} m_GameObject: {fileID: 4161702286388442030}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &8810305637038458871 --- !u!23 &389142437370942226
MeshRenderer: MeshRenderer:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1953341725052257094} m_GameObject: {fileID: 4161702286388442030}
m_Enabled: 1 m_Enabled: 1
m_CastShadows: 1 m_CastShadows: 1
m_ReceiveShadows: 1 m_ReceiveShadows: 1
@ -59,10 +59,13 @@ MeshRenderer:
m_ReflectionProbeUsage: 1 m_ReflectionProbeUsage: 1
m_RayTracingMode: 2 m_RayTracingMode: 2
m_RayTraceProcedural: 0 m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1 m_RenderingLayerMask: 1
m_RendererPriority: 0 m_RendererPriority: 0
m_Materials: m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo: m_StaticBatchInfo:
firstSubMesh: 0 firstSubMesh: 0
subMeshCount: 0 subMeshCount: 0
@ -84,16 +87,25 @@ MeshRenderer:
m_SortingLayer: 0 m_SortingLayer: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0} m_AdditionalVertexStreams: {fileID: 0}
--- !u!65 &3431397482178559869 --- !u!64 &3205580219543720578
BoxCollider: MeshCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1953341725052257094} m_GameObject: {fileID: 4161702286388442030}
m_Material: {fileID: 0} 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_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 5
m_Size: {x: 1, y: 1, z: 1} m_Convex: 0
m_Center: {x: 0, y: 0, z: 0} m_CookingOptions: 30
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}

View File

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

View File

@ -0,0 +1,116 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2649204120599136808
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 652651322306016017}
- component: {fileID: 7835161594234593618}
- component: {fileID: 4663288065115125543}
- component: {fileID: 6747329953502521989}
- component: {fileID: 8476177343491432627}
m_Layer: 0
m_Name: actor_box
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &652651322306016017
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
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: 0.68803996, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7835161594234593618
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
m_Mesh: {fileID: -3262789968867269347, guid: 8f2686c05a6f1e943aefda5a0c851a47, type: 3}
--- !u!23 &4663288065115125543
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
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_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 290fe713fab70a94cb9636fbbfbe0c54, 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 &6747329953502521989
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b4d757caf7d3b734097222388ab3a309, type: 3}
m_Name:
m_EditorClassIdentifier:
index: 0
--- !u!114 &8476177343491432627
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2649204120599136808}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bac1e67b934ef0944b6de46554cf5042, type: 3}
m_Name:
m_EditorClassIdentifier:
_id: 0

View File

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

View File

@ -68,7 +68,7 @@ MonoBehaviour:
m_SoftShadowQuality: 2 m_SoftShadowQuality: 2
m_AdditionalLightsCookieResolution: 2048 m_AdditionalLightsCookieResolution: 2048
m_AdditionalLightsCookieFormat: 3 m_AdditionalLightsCookieFormat: 3
m_UseSRPBatcher: 1 m_UseSRPBatcher: 0
m_SupportsDynamicBatching: 0 m_SupportsDynamicBatching: 0
m_MixedLightingSupported: 1 m_MixedLightingSupported: 1
m_SupportsLightCookies: 1 m_SupportsLightCookies: 1

View File

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

View File

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

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 7fa64400cd6b4ebf86cb9e306d3b232d
timeCreated: 1745389379

View File

@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using Sirenix.OdinInspector;
using TEngine;
using UnityEngine;
namespace GameLogic
{
public class ActorMgr: SingletonBehaviour<ActorMgr>
{
[ShowInInspector]private Dictionary<int,BoxActor> _boxes = new Dictionary<int,BoxActor>();
protected override void OnLoad()
{
//Init().Forget();
base.OnLoad();
}
private async void Start()
{
Init().Forget();
}
private async UniTaskVoid Init()
{
await GeneratorBox();
}
private async UniTask GeneratorBox()
{
var boxArray = GameObject.FindGameObjectsWithTag(TagSetting.Box);
GameObject boxGroup = new GameObject();
boxGroup.name = "BoxGroup";
boxGroup.SetParent(this.transform);
Material boxMat = GameModule.Resource.LoadAsset<Material>(LocationSetting.Mat_ActorBox);
for (int i = 0; i < boxArray.Length; i++)
{
var boxActor = BoxFactory.CreatBox(i, boxArray[i].transform,boxGroup.transform);
//boxActor.SetMaterial(boxMat);
_boxes.Add(i,boxActor);
Log.Info($"Box Generator (物流纸箱生成进度) :{i/(boxArray.Length*1.0f) * 100} %");
}
await UniTask.Yield();
}
public BoxActor GetBox(int boxIndex)
{
return _boxes.GetValueOrDefault(boxIndex);
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: fffb97af1c6044cd8b3d4ca885347554
timeCreated: 1745389330

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5010e4b0c1084b2a82caf7b9028773dd
timeCreated: 1745389570

View File

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

View File

@ -0,0 +1,24 @@
using UnityEngine;
namespace GameLogic
{
public static class GameObjectExtension
{
public static void SetPosition(this GameObject self, Vector3 pos)
{
self.transform.position = pos;
}
public static void SetTransform(this GameObject self, Transform transform)
{
self.transform.position = transform.position;
self.transform.rotation = transform.rotation;
self.transform.localScale = transform.localScale;
}
public static void SetParent(this GameObject self, Transform parent)
{
self.transform.SetParent(parent);
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: c359af084b0901548a027bf42c897852

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 36eeb9f88fe947fab6a0acbe83659426
timeCreated: 1745389365

View File

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

View File

@ -0,0 +1,18 @@
using TEngine;
using UnityEngine;
namespace GameLogic
{
public class BoxActor : EntityLogic
{
public int index;
public void SetMaterial(Material material)
{
transform.GetComponent<MeshRenderer>().sharedMaterial = material;
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: b4d757caf7d3b734097222388ab3a309

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 4673bfd2d2ac45aa988f9359ec43d7e0
timeCreated: 1745389708

View File

@ -0,0 +1,27 @@
using UnityEngine;
namespace GameLogic
{
public static class BoxFactory
{
public static BoxActor CreatBoxGameModule(int index,Transform origin,Transform parent)
{
var boxGo = GameModule.Resource.LoadGameObject(LocationSetting.BoxActor);
boxGo.SetTransform(origin);
boxGo.SetParent(parent);
var box = boxGo.GetComponent<BoxActor>();
box.index = index;
return boxGo.GetComponent<BoxActor>();
}
public static BoxActor CreatBox(int index,Transform origin,Transform parent)
{
var boxGo =GameObject.Instantiate(Resources.Load<GameObject>(LocationSetting.BoxActor));
boxGo.SetTransform(origin);
boxGo.SetParent(parent);
var box = boxGo.GetComponent<BoxActor>();
box.index = index;
return boxGo.GetComponent<BoxActor>();
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 5677094547524cc796d1f1863edbca92
timeCreated: 1745389717

View File

@ -0,0 +1,240 @@
using System;
using UnityEngine;
namespace GameLogic
{
public class MachineToolActor : MonoBehaviour
{
private float _moveSpeed = 5.0f;
public float stayDuration = 1.0f; // 子工具在目标位置停留时间
[Header("状态")]
[SerializeField] private MachineState _currentState = MachineState.Idle;
[SerializeField] private bool _isRunning = false;
// 引用
private Transform _toolChild; // MachineTool2子工具
public Vector2 targetPosition; // 目标位置
// 记录原始位置
private Vector3 _originalPosition;
private Vector3 _childOriginalLocalPosition;
// 停留计时器
private float _stayTimer = 0f;
// 状态枚举
public enum MachineState
{
Idle, // 空闲状态
StartMoveToolOne, // MachineTool1移动到目标点
StartMoveToolTwo, // MachineTool2移动到目标点
ChildStayingAtTarget, // MachineTool2在目标点停留
ChildMovingToOrigin, // MachineTool2返回原始位置
MovingToOrigin, // MachineTool1返回原始位置
Completed // 完成状态
}
private void Awake()
{
// 查找子工具
_toolChild = transform.Find("MachineTool2");
// 查找子工具目标位置
if (targetPosition != null)
{
}
}
private void Start()
{
// 记录初始位置
_originalPosition = transform.position;
if (_toolChild != null)
{
_childOriginalLocalPosition = _toolChild.localPosition;
}
}
private void Update()
{
if (!_isRunning) return;
// 状态机逻辑
switch (_currentState)
{
case MachineState.Idle:
// 空闲状态,什么都不做
break;
case MachineState.StartMoveToolOne:
// MachineTool1向目标点移动
if (MoveTowards(targetPosition.x,transform.position.y,transform.position.z))
{
// 到达目标点,开始子工具移动
Debug.Log("MachineTool1: 已到达目标位置");
_currentState = MachineState.StartMoveToolTwo;
}
break;
case MachineState.StartMoveToolTwo:
if (MoveTowards(transform.position.x,targetPosition.y,transform.position.z))
{
// 到达目标点,开始子工具移动
Debug.Log("MachineTool2: 已到达目标位置");
_currentState = MachineState.StartMoveToolTwo;
}
break;
case MachineState.ChildStayingAtTarget:
// 子工具在目标点停留
_stayTimer += Time.deltaTime;
if (_stayTimer >= stayDuration)
{
// 停留完成,子工具开始返回
Debug.Log("MachineTool2: 停留完成,开始返回原始位置");
_currentState = MachineState.ChildMovingToOrigin;
}
break;
case MachineState.MovingToOrigin:
// // MachineTool1返回原始位置
// if (MoveTowards(_originalPosition))
// {
// }
break;
case MachineState.Completed:
// 完成状态,重置为空闲
_currentState = MachineState.Idle;
break;
}
}
/// <summary>
/// 向指定世界坐标移动,返回是否到达目标
/// </summary>
private bool MoveTowards(float x,float y,float z)
{
// var targetPos = new Vector3(targetPosition.x, transform.position.y, transform.position.z);
var targetPos = new Vector3(x,y,z);
if (Vector3.Distance(transform.position, targetPos) <= 0.1f)
{
return true;
}
// 计算移动方向
Vector3 moveDirection = (targetPos - transform.position).normalized;
// 执行移动
transform.position += moveDirection * _moveSpeed * Time.deltaTime;
// 尚未到达目标
return false;
}
/// <summary>
/// 子工具向指定世界坐标移动,返回是否到达目标
/// </summary>
private bool MoveChildTowards(Vector3 targetPos)
{
if (_toolChild == null) return true;
// 计算距离
float distanceToTarget = Vector3.Distance(_toolChild.position, targetPos);
// 如果已到达目标返回true
if (distanceToTarget < 0.1f)
{
_toolChild.position = targetPos;
return true;
}
// 计算移动方向
Vector3 moveDirection = (targetPos - _toolChild.position).normalized;
// 执行移动
_toolChild.position += moveDirection * (_moveSpeed * 1.5f) * Time.deltaTime;
// 旋转面向移动方向
if (moveDirection != Vector3.zero)
{
Quaternion targetRotation = Quaternion.LookRotation(moveDirection);
_toolChild.rotation = Quaternion.Slerp(_toolChild.rotation, targetRotation, 5.0f * Time.deltaTime);
}
// 尚未到达目标
return false;
}
/// <summary>
/// 子工具向指定本地坐标移动,返回是否到达目标
/// </summary>
private bool MoveChildToLocalPosition(Vector3 targetLocalPos)
{
if (_toolChild == null) return true;
// 计算目标世界位置
Vector3 targetWorldPos = transform.TransformPoint(targetLocalPos);
// 调用世界坐标移动方法
return MoveChildTowards(targetWorldPos);
}
/// <summary>
/// 装箱 箱子
/// </summary>
/// <param name="boxId">箱子ID</param>
/// <returns>是否成功装箱</returns>
public bool LoadBox(int boxId)
{
if (_isRunning) return false;
_isRunning = true;
targetPosition = ActorMgr.Instance.GetBox(boxId).transform.position;
_currentState = MachineState.StartMoveToolOne;
return true;
}
/// <summary>
/// 开始移动序列
/// </summary>
/// <param name="onCompleted">完成后的回调</param>
/// <returns>是否成功启动</returns>
public bool StartMoveSequence(Action onCompleted = null)
{
if (_isRunning) return false;
if (targetPosition == null)
{
Debug.LogError("未设置目标位置请设置targetPosition");
return false;
}
// 重置状态
_currentState = MachineState.StartMoveToolOne;
_isRunning = true;
Debug.Log("开始执行移动序列");
return true;
}
/// <summary>
/// 取消移动序列
/// </summary>
public void CancelMoveSequence()
{
if (!_isRunning) return;
// 重置状态
_currentState = MachineState.Idle;
_isRunning = false;
Debug.Log("移动序列已取消");
}
/// <summary>
/// 获取当前是否正在执行任务
/// </summary>
public bool IsRunning()
{
return _isRunning;
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 27704dd88865b884a83505780c8607e6

View File

@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using Sirenix.OdinInspector;
using UnityEngine;
namespace GameLogic
{
public class WareHouseShelfActor : MonoBehaviour
{
public int _targetBoxId;
public MachineToolActor _tool;
private void Awake()
{
_tool = transform.GetComponentInChildren<MachineToolActor>();
}
public void LoadBox(int boxId)
{
// Code to load a box onto the shelf
_targetBoxId = boxId;
_tool.LoadBox(boxId);
}
public void RetrieveBox(int boxId)
{
// Code to retrieve a box from the shelf
}
private void Update()
{
if (Input.GetKeyDown(KeyCode.A))
{
LoadBox(2000);
}
}
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 3f667d3666fa01c4f8cbdcf6f877a257

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3886431b34da4531b573732bd729e4f4
timeCreated: 1745389605

View File

@ -0,0 +1,20 @@
namespace GameLogic
{
public static class LocationSetting
{
public static readonly string BoxActor = "actor_box";
#region
public static readonly string Mat_ActorBox = "mat_actorBox";
#endregion
#region
public static readonly string Scene_FactoryOne= "scene_factoryOne";
#endregion
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 28b7dc5ece684eadbc1f6095845fa76b
timeCreated: 1745389810

View File

@ -0,0 +1,7 @@
namespace GameLogic
{
public static class TagSetting
{
public static readonly string Box = "Box";
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 512ab6d3571c4720a30a7e652fca68e9
timeCreated: 1745389612

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 0b7cdd6032944eeea5432eda789c014c
timeCreated: 1745394679

View File

@ -0,0 +1,29 @@
using Cysharp.Threading.Tasks;
using TEngine;
using UnityEditor;
using UnityEngine;
namespace GameLogic
{
public static class BoxGeneratorUtility
{
[MenuItem("Tool/Factory/Box Generator")]
private static void GeneratorBox()
{
var boxArray = GameObject.FindGameObjectsWithTag(TagSetting.Box);
GameObject boxGroup = new GameObject();
boxGroup.name = "BoxGroup";
var boxParent = GameObject.Find("ActorMgr");
boxGroup.SetParent(boxParent.transform);
//Material boxMat = GameModule.Resource.LoadAsset<Material>(LocationSetting.Mat_ActorBox);
for (int i = 0; i < boxArray.Length; i++)
{
var boxActor = BoxFactory.CreatBox(i, boxArray[i].transform,boxGroup.transform);
//boxActor.SetMaterial(boxMat);
//_boxes.Add(i,boxActor);
Log.Info($"Box Generator (物流纸箱生成进度) :{i/(boxArray.Length*1.0f) * 100} %");
}
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a5ad7b3bb16c47a8abe970959ca3436e
timeCreated: 1745394697

View File

@ -1,7 +1,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
using Cysharp.Threading.Tasks;
using GameLogic; using GameLogic;
using TEngine; using TEngine;
using UnityEngine;
#pragma warning disable CS0436 #pragma warning disable CS0436
@ -28,8 +31,15 @@ public partial class GameApp
private static void StartGameLogic() private static void StartGameLogic()
{ {
GameEvent.Get<ILoginUI>().ShowLoginUI(); //GameEvent.Get<ILoginUI>().ShowLoginUI();
GameModule.UI.ShowUIAsync<BattleMainUI>(); //GameModule.UI.ShowUIAsync<BattleMainUI>();
GameStart().Forget();
}
public static async UniTaskVoid GameStart()
{
await GameModule.Scene.LoadSceneAsync(LocationSetting.Scene_FactoryOne);
//var actorMgr = ActorMgr.Instance;
} }
private static void Release() private static void Release()

View File

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

View File

@ -0,0 +1,19 @@
using TEngine;
using UnityEngine;
namespace GameLogic
{
[EventInterface(EEventGroup.GroupUI)]
public interface IBoxActor
{
/// <summary>
/// 模型生成进度
/// </summary>
/// <param name="current"></param>
/// <param name="total"></param>
public void GeneratorProgress(int current,int total);
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 3d31c80da5b848e47a26e09844b808aa

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: b3e58808cb15120468eafdef64280407
timeCreated: 1540224475
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 0512c18ad5403428db876010796c1cda
timeCreated: 1453118000
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 57ddc43ace113674392034825a54600a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 796b9b2a6f14f4c4bbece3dd12391be5
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 3edaef4aaaeea084281ebb3f7ea3102f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 6fc8c59a5841497419287c5cf5324292
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 32513d4025d1ab645bd5236e084c926d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: f597f19f656ba56eae4f6a3a7cc528f4
timeCreated: 1488828285
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 48e08dc33330d11e9d4a1b246c52e4f6
timeCreated: 1488828285
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: ed09910c0094cb27be8f3ca264680da3
timeCreated: 1488828285
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: cc355dd4cf1e6173beaeb22c2858cbe1
timeCreated: 1488828285
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

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

View File

@ -0,0 +1,22 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1549551891, guid: 74721b9f0af448f5ae2e91102a1a5edd, type: 3}
m_Name: GlobalSerializationConfig
m_EditorClassIdentifier:
HideSerializationCautionaryMessage: 0
HidePrefabCautionaryMessage: 0
HideOdinSerializeAttributeWarningMessages: 0
HideNonSerializedShowInInspectorWarningMessages: 0
buildSerializationFormat: 0
editorSerializationFormat: 2
loggingPolicy: 0
errorHandlingPolicy: 0

View File

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

View File

@ -13,7 +13,7 @@ OcclusionCullingSettings:
--- !u!104 &2 --- !u!104 &2
RenderSettings: RenderSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 9 serializedVersion: 10
m_Fog: 0 m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3 m_FogMode: 3
@ -38,13 +38,12 @@ RenderSettings:
m_ReflectionIntensity: 1 m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0} m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0} m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0 m_UseRadianceAmbientProbe: 0
--- !u!157 &3 --- !u!157 &3
LightmapSettings: LightmapSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 12 serializedVersion: 13
m_GIWorkflowMode: 1 m_BakeOnSceneLoad: 0
m_GISettings: m_GISettings:
serializedVersion: 2 serializedVersion: 2
m_BounceScale: 1 m_BounceScale: 1
@ -67,9 +66,6 @@ LightmapSettings:
m_LightmapParameters: {fileID: 0} m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1 m_LightmapsBakeMode: 1
m_TextureCompression: 1 m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2 m_ReflectionCompression: 2
m_MixedBakeMode: 2 m_MixedBakeMode: 2
m_BakeBackend: 0 m_BakeBackend: 0
@ -104,7 +100,7 @@ NavMeshSettings:
serializedVersion: 2 serializedVersion: 2
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_BuildSettings: m_BuildSettings:
serializedVersion: 2 serializedVersion: 3
agentTypeID: 0 agentTypeID: 0
agentRadius: 0.5 agentRadius: 0.5
agentHeight: 2 agentHeight: 2
@ -117,7 +113,7 @@ NavMeshSettings:
cellSize: 0.16666667 cellSize: 0.16666667
manualTileSize: 0 manualTileSize: 0
tileSize: 256 tileSize: 256
accuratePlacement: 0 buildHeightMesh: 0
maxJobWorkers: 0 maxJobWorkers: 0
preserveTilesOutsideBounds: 0 preserveTilesOutsideBounds: 0
debug: debug:
@ -134,6 +130,7 @@ GameObject:
- component: {fileID: 519420032} - component: {fileID: 519420032}
- component: {fileID: 519420031} - component: {fileID: 519420031}
- component: {fileID: 519420029} - component: {fileID: 519420029}
- component: {fileID: 519420034}
m_Layer: 0 m_Layer: 0
m_Name: Main Camera m_Name: Main Camera
m_TagString: MainCamera m_TagString: MainCamera
@ -163,9 +160,17 @@ Camera:
m_projectionMatrixMode: 1 m_projectionMatrixMode: 1
m_GateFitMode: 2 m_GateFitMode: 2
m_FOVAxisMode: 0 m_FOVAxisMode: 0
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
m_FocusDistance: 10
m_FocalLength: 50
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
m_Anamorphism: 0
m_SensorSize: {x: 36, y: 24} m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0} m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect: m_NormalizedViewPortRect:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
@ -199,19 +204,64 @@ Transform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028} m_GameObject: {fileID: 519420028}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10} m_LocalPosition: {x: 0, y: 0, z: -10}
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: 0} m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &519420034
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_VolumeFrameworkUpdateModeOption: 2
m_RenderPostProcessing: 0
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_AllowHDROutput: 1
m_UseScreenCoordOverride: 0
m_ScreenSizeOverride: {x: 0, y: 0, z: 0, w: 0}
m_ScreenCoordScaleBias: {x: 0, y: 0, z: 0, w: 0}
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
m_TaaSettings:
m_Quality: 3
m_FrameInfluence: 0.1
m_JitterScale: 1
m_MipBias: 0
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
--- !u!1001 &2425705316520036048 --- !u!1001 &2425705316520036048
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: 2425705315945453248, guid: 4f5fbbbb040049d41a5f897d5a956bf6, type: 3} - target: {fileID: 2425705315945453248, guid: 4f5fbbbb040049d41a5f897d5a956bf6, type: 3}
@ -263,12 +313,16 @@ PrefabInstance:
value: UIRoot value: UIRoot
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4f5fbbbb040049d41a5f897d5a956bf6, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 4f5fbbbb040049d41a5f897d5a956bf6, type: 3}
--- !u!1001 &7696541954144433114 --- !u!1001 &7696541954144433114
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: 7696541955266276700, guid: e38c712e7904fdf42bd0458b769718dd, type: 3} - target: {fileID: 7696541955266276700, guid: e38c712e7904fdf42bd0458b769718dd, type: 3}
@ -320,4 +374,14 @@ PrefabInstance:
value: GameEntry value: GameEntry
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e38c712e7904fdf42bd0458b769718dd, type: 3} m_SourcePrefab: {fileID: 100100000, guid: e38c712e7904fdf42bd0458b769718dd, type: 3}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 519420032}
- {fileID: 7696541954144433114}
- {fileID: 2425705316520036048}

View File

@ -17,7 +17,17 @@ namespace TEngine
/// <summary> /// <summary>
/// 获取实体编号。 /// 获取实体编号。
/// </summary> /// </summary>
public int Id => _id; public int Id
{
get
{
return _id;
}
set
{
_id = value;
}
}
/// <summary> /// <summary>
/// 获取实体资源名称。 /// 获取实体资源名称。

View File

@ -0,0 +1,16 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 61
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: e2ea235c1fcfe29488ed97c467a0da53, type: 3}
m_Name:
m_EditorClassIdentifier:
FilterSettings:
ExcludedBakingSystemAssemblies: []

View File

@ -3,7 +3,8 @@
--- !u!78 &1 --- !u!78 &1
TagManager: TagManager:
serializedVersion: 3 serializedVersion: 3
tags: [] tags:
- Box
layers: layers:
- Default - Default
- TransparentFX - TransparentFX

View File

@ -5,9 +5,24 @@ EditorUserSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 4 serializedVersion: 4
m_ConfigSettings: m_ConfigSettings:
Advanced:
value: 183b144645154b6805011b0314355e1e15121c1d233a2a343e6b4773e4e1382be78d2b
flags: 0
Baking:
value: 184c
flags: 0
GraphicsSettingsInspector_UserSettings: GraphicsSettingsInspector_UserSettings:
value: 18134705175a055722080a3115371d4a0d55006876786860616b0471b8b07a68ffab74f9ee2a3a30300cea1a11320d0beb1a0c25f7060f494b4cdf1b18f3045e38cb5ad8 value: 18134705175a055722080a3115371d4a0d55006876786860616b0471b8b07a68ffab74f9ee2a3a30300cea1a11320d0beb1a0c25f7060f494b4cdf1b18f3045e38cb5ad8
flags: 0 flags: 0
Hierarchy Window:
value: 183b144645154b7802000a2b17364d11021e17246e72662b47695d73a2a07478a2a503f9e33b2b39140deb394664416ebe60494bb64b4a4b514ebf2318f1191e04c835cc16c4160fce1a13c0c90ef3e6c1c1d1efd6c3eeddccdeb2f1fce9dbe8f1f0b1fe89b1ffccafbcbcebef939188ab8af7848c868987fa90fcd2a6dadfc6d4fb8cdad58ecbdeda82ae89b1a0a2b6b6a5ad829ab7acbb999f88b722e9ef31302b02fafcf8f6c0fdf92dc1577e9081666ea57176848889a09c6b89939c909b4b9597b9478f99935297579b23152032310538053a14052c1b292c1e1d2d61310227297f07797d2d2d3b134a454e794d6c4f214e3d2a4d44333040233e46545c62531d511e0c19065a726d494e636263696655666b32303b260f24343fed2220e23338e3c734fd38e5dde518f54165b0a7a7a85a5c584a7a4d49bd538280545880e20ecacb0f1b192cecc11de91be531ddeeecf8f0e4f8d8f4efcfedf99daab3f7a4f4b6ffe495bcebb9bceeedbdf18194b2a2cbb6c8c2bc8dba81c0d7d88c8295c597ce8fe29ce0cacfc3fb92
flags: 0
Inspector:
value: 183b144645154b7f041d1c2e113a7c1f1b0717242926320434391871b8a03239eef43383fa
flags: 0
Journaling:
value: 184c
flags: 0
RecentlyUsedSceneGuid-0: RecentlyUsedSceneGuid-0:
value: 550402515407580d0b0c582744715b44104f412f287e23352e284e65b2b6643c value: 550402515407580d0b0c582744715b44104f412f287e23352e284e65b2b6643c
flags: 0 flags: 0
@ -20,6 +35,9 @@ EditorUserSettings:
RecentlyUsedSceneGuid-3: RecentlyUsedSceneGuid-3:
value: 505501005456500d5e575c7048270a4417164e7b2a2a73617b2f4a37b0b43669 value: 505501005456500d5e575c7048270a4417164e7b2a2a73617b2f4a37b0b43669
flags: 0 flags: 0
Systems Window:
value: 183b144645154b7802000a2b17364d11021e17246e72662b47695d73a2a07478a2a505e1e82d6f2f100cca3210371526d1051c05e22a040f2507f00b32f01c061ccb5a9f5ace1e10d81c50a48d5d91a3959694aa9ad8efd7c9f2afe0f1c0fcfdf6f8b6f2a5a6dacfb89debbfa1cbc9c3f5c3bac18e9c89c1bbdec2d6f2b992939996c59699c79ae8d182b7baad82aba0b0aea88398abdbf1dd8a8ea765ffc520262728fafcf8f6c28eb162945c71898d6167877a72a980809c9f71cecece859d579fd5f106dbdadb21de0dde237c686c76706641634c764f547c624a7e622d6628286620686f653d2b635a0204003e0805017509093043470e3643041c5d5b415c54450e1c424b420f6e4b634e636263696655641a1f273c0f083c1102ec362de62318e9ea25ab61ade8ed0ee30655b0b6b7b8176615
flags: 0
vcSharedLogLevel: vcSharedLogLevel:
value: 0d5e400f0650 value: 0d5e400f0650
flags: 0 flags: 0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff