This commit is contained in:
parent
4f7926c893
commit
97e89d7461
|
@ -0,0 +1,98 @@
|
|||
%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: WangGe(2)_mat
|
||||
m_Shader: {fileID: 4800000, guid: 3194b556cb141224c9fe971b3905a576, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _EMISSION
|
||||
m_LightmapFlags: 1
|
||||
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}
|
||||
- _D:
|
||||
m_Texture: {fileID: 2800000, guid: f448a0d1bd71941488915730340139c4, type: 3}
|
||||
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}
|
||||
- _texcoord:
|
||||
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
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
- __dirty: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color0: {r: 0.77647066, g: 0.3019608, b: 0.16078432, a: 0}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
|
@ -1,8 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 40898eb910012ec4680ea6ae9e5a61bb
|
||||
guid: 51dc92bdbcc9e1a43a8bda394e61f7fd
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 9100000
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,100 @@
|
|||
%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: weilan
|
||||
m_Shader: {fileID: 4800000, guid: bde1e0eec3da329419f4bca6e2daa1a7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _EMISSION
|
||||
m_LightmapFlags: 1
|
||||
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}
|
||||
- _D:
|
||||
m_Texture: {fileID: 2800000, guid: 1b0def02621ccde40a8e244ee1d5ae33, type: 3}
|
||||
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: 2800000, guid: 1b0def02621ccde40a8e244ee1d5ae33, type: 3}
|
||||
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: 2800000, guid: ab591b6d9f93c4c46b32d1fe7033c7fc, type: 3}
|
||||
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}
|
||||
- _ao:
|
||||
m_Texture: {fileID: 2800000, guid: ab591b6d9f93c4c46b32d1fe7033c7fc, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _texcoord:
|
||||
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
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7ac4bc1e127089f428750268f630b557
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,134 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cdd6af5577c370a4aa1ebad05cdb9508
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects:
|
||||
- first:
|
||||
type: UnityEngine:Material
|
||||
assembly: UnityEngine.CoreModule
|
||||
name: WangGe(2)_mat
|
||||
second: {fileID: 2100000, guid: 51dc92bdbcc9e1a43a8bda394e61f7fd, type: 2}
|
||||
- first:
|
||||
type: UnityEngine:Material
|
||||
assembly: UnityEngine.CoreModule
|
||||
name: weilan
|
||||
second: {fileID: 2100000, guid: 7ac4bc1e127089f428750268f630b557, type: 2}
|
||||
- first:
|
||||
type: UnityEngine:Texture2D
|
||||
assembly: UnityEngine.CoreModule
|
||||
name: "\u56F4\u680F_D"
|
||||
second: {fileID: 2800000, guid: 1b0def02621ccde40a8e244ee1d5ae33, type: 3}
|
||||
- first:
|
||||
type: UnityEngine:Texture2D
|
||||
assembly: UnityEngine.CoreModule
|
||||
name: "\u56F4\u680F_ao"
|
||||
second: {fileID: 2800000, guid: ab591b6d9f93c4c46b32d1fe7033c7fc, type: 3}
|
||||
- first:
|
||||
type: UnityEngine:Texture2D
|
||||
assembly: UnityEngine.CoreModule
|
||||
name: "\u7F51\u683C1"
|
||||
second: {fileID: 2800000, guid: f448a0d1bd71941488915730340139c4, type: 3}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: add2d82624600484caf2eff08e3ecba1
|
||||
guid: 2b9dd4cbded20414eb673e8b03993fce
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
|
@ -33,7 +33,7 @@ ModelImporter:
|
|||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: Take 001
|
||||
name: take
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -119,14 +119,14 @@ ModelImporter:
|
|||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 0.01
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0268bdb74d2c3914a82705d6a34f5008
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: read
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 10
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -33,7 +33,7 @@ ModelImporter:
|
|||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: Read
|
||||
name: read
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
|
@ -126,7 +126,7 @@ ModelImporter:
|
|||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 25e6b9070f671114cb5d13e9aadd736a
|
||||
guid: 2547211e6f5e72c49aa3c43d9ca2350f
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
|
@ -31,7 +31,36 @@ ModelImporter:
|
|||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: To
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 30
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
Binary file not shown.
|
@ -126,7 +126,7 @@ ModelImporter:
|
|||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: cb7ae22f7950623448c239b3357f295c
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: hello
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 75
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -126,7 +126,7 @@ ModelImporter:
|
|||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 82ba8d85f3ad35c4eba2f6d30570aef5
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: qing
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 75
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -126,7 +126,7 @@ ModelImporter:
|
|||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 33691224d0b7e734a8192a6ab085eece
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: pat
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 100
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -126,7 +126,7 @@ ModelImporter:
|
|||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a99aa00b9db6501458a718d019426ba0
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: add
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 45
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -126,7 +126,7 @@ ModelImporter:
|
|||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: bf6e8be8c8210824ebb3569288cb48d7
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: put
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 70
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
|
@ -126,7 +126,7 @@ ModelImporter:
|
|||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c41136602a044ce4f9a2eca668ca6618
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: qinghou
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 10
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,138 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4942ca3044003f243a40ae7aedc8826a
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: qinghou
|
||||
takeName: Take 001
|
||||
internalID: 1827226128182048838
|
||||
firstFrame: 0
|
||||
lastFrame: 10
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 3
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,78 +0,0 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1102 &-6842296932978832182
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: take
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 1827226128182048838, guid: 44819ad5da7c5294688a019bf76aa394, type: 3}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
--- !u!1107 &-4376526991649564865
|
||||
AnimatorStateMachine:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Base Layer
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: -6842296932978832182}
|
||||
m_Position: {x: 250.32788, y: 265.07376, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
m_StateMachineTransitions: {}
|
||||
m_StateMachineBehaviours: []
|
||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
m_DefaultState: {fileID: -6842296932978832182}
|
||||
--- !u!91 &9100000
|
||||
AnimatorController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Roboticarm
|
||||
serializedVersion: 5
|
||||
m_AnimatorParameters:
|
||||
- m_Name: Read
|
||||
m_Type: 9
|
||||
m_DefaultFloat: 0
|
||||
m_DefaultInt: 0
|
||||
m_DefaultBool: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
m_StateMachine: {fileID: -4376526991649564865}
|
||||
m_Mask: {fileID: 0}
|
||||
m_Motions: []
|
||||
m_Behaviours: []
|
||||
m_BlendingMode: 0
|
||||
m_SyncedLayerIndex: -1
|
||||
m_DefaultWeight: 0
|
||||
m_IKPass: 0
|
||||
m_SyncedLayerAffectsTiming: 0
|
||||
m_Controller: {fileID: 9100000}
|
Binary file not shown.
After Width: | Height: | Size: 181 KiB |
|
@ -0,0 +1,127 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1b0def02621ccde40a8e244ee1d5ae33
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
|
@ -0,0 +1,127 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ab591b6d9f93c4c46b32d1fe7033c7fc
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
|
@ -0,0 +1,127 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f448a0d1bd71941488915730340139c4
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -28,74 +28,74 @@ using System.Collections.Generic;
|
|||
|
||||
namespace cakeslice
|
||||
{
|
||||
[RequireComponent(typeof(Renderer))]
|
||||
/* [ExecuteInEditMode] */
|
||||
public class Outline : MonoBehaviour
|
||||
{
|
||||
public Renderer Renderer { get; private set; }
|
||||
public SpriteRenderer SpriteRenderer { get; private set; }
|
||||
public SkinnedMeshRenderer SkinnedMeshRenderer { get; private set; }
|
||||
public MeshFilter MeshFilter { get; private set; }
|
||||
[RequireComponent(typeof(Renderer))]
|
||||
/* [ExecuteInEditMode] */
|
||||
public class Outline : MonoBehaviour
|
||||
{
|
||||
public Renderer Renderer { get; private set; }
|
||||
public SpriteRenderer SpriteRenderer { get; private set; }
|
||||
public SkinnedMeshRenderer SkinnedMeshRenderer { get; private set; }
|
||||
public MeshFilter MeshFilter { get; private set; }
|
||||
|
||||
public int color;
|
||||
public bool eraseRenderer;
|
||||
public int color;
|
||||
public bool eraseRenderer;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Renderer = GetComponent<Renderer>();
|
||||
SkinnedMeshRenderer = GetComponent<SkinnedMeshRenderer>();
|
||||
SpriteRenderer = GetComponent<SpriteRenderer>();
|
||||
MeshFilter = GetComponent<MeshFilter>();
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Renderer = GetComponent<Renderer>();
|
||||
SkinnedMeshRenderer = GetComponent<SkinnedMeshRenderer>();
|
||||
SpriteRenderer = GetComponent<SpriteRenderer>();
|
||||
MeshFilter = GetComponent<MeshFilter>();
|
||||
|
||||
}
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
void OnEnable()
|
||||
{
|
||||
OutlineEffect.Instance?.RemoveOutline(this);
|
||||
//Debug.Log("执行了初始化");
|
||||
//Debug.Log("执行了初始化");
|
||||
}
|
||||
|
||||
void OnDisable()
|
||||
{
|
||||
OutlineEffect.Instance?.RemoveOutline(this);
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
OutlineEffect.Instance?.RemoveOutline(this);
|
||||
}
|
||||
|
||||
private Material[] _SharedMaterials;
|
||||
public Material[] SharedMaterials
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_SharedMaterials == null)
|
||||
_SharedMaterials = Renderer.sharedMaterials;
|
||||
private Material[] _SharedMaterials;
|
||||
public Material[] SharedMaterials
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_SharedMaterials == null)
|
||||
_SharedMaterials = Renderer.sharedMaterials;
|
||||
|
||||
return _SharedMaterials;
|
||||
}
|
||||
}
|
||||
//private void OnMouseEnter()
|
||||
//{
|
||||
// OutlineEffect.Instance?.AddOutline(this);
|
||||
//}
|
||||
//private void OnMouseExit()
|
||||
//{
|
||||
// OutlineEffect.Instance?.RemoveOutline(this);
|
||||
//}
|
||||
private void OnMouseDown()
|
||||
{
|
||||
if (OutlineEffect.Instance.outlines.Count > 0)
|
||||
{
|
||||
|
||||
OutlineEffect.Instance.outlines.Clear();
|
||||
}
|
||||
if (gameObject==this.gameObject)
|
||||
{
|
||||
OutlineEffect.Instance?.AddOutline(this);
|
||||
Debug.Log("添加自身");
|
||||
return _SharedMaterials;
|
||||
}
|
||||
}
|
||||
}
|
||||
//private void OnMouseEnter()
|
||||
//{
|
||||
// OutlineEffect.Instance?.AddOutline(this);
|
||||
//}
|
||||
//private void OnMouseExit()
|
||||
//{
|
||||
// OutlineEffect.Instance?.RemoveOutline(this);
|
||||
//}
|
||||
private void OnMouseDown()
|
||||
{
|
||||
color = 1;
|
||||
if (OutlineEffect.Instance.outlines.Count > 0)
|
||||
{
|
||||
OutlineEffect.Instance.outlines.Clear();
|
||||
}
|
||||
if (gameObject == this.gameObject)
|
||||
{
|
||||
if (OutlineEffect.Instance.outlines.Count == 0)
|
||||
{
|
||||
OutlineEffect.Instance?.AddOutline(this);
|
||||
Debug.Log("添加自身");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//private void OnMouseUp()
|
||||
//{
|
||||
// OutlineEffect.Instance?.RemoveOutline(this);
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,22 +1,363 @@
|
|||
using DefaultNamespace;
|
||||
using DG.Tweening;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using UnityEngine;
|
||||
|
||||
public class Machine : MonoBehaviour
|
||||
{
|
||||
public Animator animations;
|
||||
void Start()
|
||||
[Header("机械手臂ID")]
|
||||
public string Id;
|
||||
[Header("机械手臂动画")]
|
||||
public Animation animations;
|
||||
[Header("机械手臂箱子生成位置")]
|
||||
public Transform points;
|
||||
[Header("箱子")]
|
||||
public GameObject Box;
|
||||
[Header("箱子2")]
|
||||
public GameObject Box2;
|
||||
[Header("位移的速度")]
|
||||
public float speed = 3.5f;
|
||||
/// <summary>
|
||||
/// 接收执行的动画
|
||||
/// </summary>
|
||||
private GameObject boxdata;
|
||||
private void Awake()
|
||||
{
|
||||
animations = GetComponent<Animator>();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetKey(KeyCode.A))
|
||||
//if (Input.GetKeyDown(KeyCode.A))
|
||||
//{
|
||||
// //GameObject ga = Instantiate(Box2);
|
||||
// //GameObject game = ga.transform.GetChild(0).gameObject;
|
||||
// //Destroy(game);
|
||||
// //ga.transform.position = points.transform.position;
|
||||
// //ga.transform.localEulerAngles = new Vector3(0, 0, 0);
|
||||
// //ga.transform.SetParent(points);
|
||||
// //animations["take"].time = 5f;
|
||||
// animations.Play("take");
|
||||
//}
|
||||
//if (Input.GetKeyDown(KeyCode.S))
|
||||
//{
|
||||
// animations.Play("take");
|
||||
//}
|
||||
//if (Input.GetKeyDown(KeyCode.D))
|
||||
//{
|
||||
// animations.Play("To");
|
||||
//}
|
||||
//if (Input.GetKeyDown(KeyCode.F))
|
||||
//{
|
||||
// animations.Play("hello");
|
||||
//}
|
||||
//if (Input.GetKeyDown(KeyCode.G))
|
||||
//{
|
||||
// animations.Play("qing");
|
||||
//}
|
||||
//if (Input.GetKeyDown(KeyCode.H))
|
||||
//{
|
||||
// animations.Play("qinghou");
|
||||
//}
|
||||
//if (Input.GetKeyDown(KeyCode.J))
|
||||
//{
|
||||
// animations.Play("add");
|
||||
//}
|
||||
//if (Input.GetKeyDown(KeyCode.K))
|
||||
//{
|
||||
// animations.Play("put");
|
||||
//}
|
||||
}
|
||||
public void Getarm(Roboticarm roboticarm)
|
||||
{
|
||||
if (roboticarm.Jobcontent.Length > 0 && roboticarm.Workingsmokeboxnumber != "0")
|
||||
{
|
||||
Debug.Log("Ö´ÐÐ");
|
||||
animations.SetTrigger("Read");
|
||||
Motionexecution(roboticarm.Jobcontent, roboticarm);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 先判断步骤运动到指定位置再执行动画
|
||||
/// </summary>
|
||||
/// <param name="procedurem"></param>
|
||||
/// <param name="roboticarm"></param>
|
||||
public void Motionexecution(string procedurem, Roboticarm roboticarm)
|
||||
{
|
||||
Debug.Log("调用步骤");
|
||||
switch (procedurem)
|
||||
{
|
||||
case "1":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Debug.Log("取箱子");
|
||||
Transform point = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(point.position, (Vector3.Distance(transform.position, point.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
animations.Play("take");
|
||||
StartCoroutine(Judgmentbox(roboticarm.Workstation));
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "2":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
Debug.Log("读箱子信息");
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Transform box = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(box.position, (Vector3.Distance(transform.position, box.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
animations.Play("read");
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "3":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
Debug.Log("去盖");
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Transform box = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(box.position, (Vector3.Distance(transform.position, box.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
animations.Play("To");
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "4":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
Debug.Log("喂料");
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Transform box = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(box.position, (Vector3.Distance(transform.position, box.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
animations.Play("hello");
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "5":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
Debug.Log("清扫");
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Transform box = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(box.position, (Vector3.Distance(transform.position, box.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
animations.Play("qing");
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "6":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
Debug.Log("拍照");
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Transform box = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(box.position, (Vector3.Distance(transform.position, box.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "7":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
Debug.Log("加盖");
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Transform box = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(box.position, (Vector3.Distance(transform.position, box.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
animations.Play("qinghou");
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "8":
|
||||
if (roboticarm.Workstation.Length > 0)
|
||||
{
|
||||
Debug.Log("放箱子");
|
||||
if (MqttManager.Instance.Mechanicalarm(roboticarm.Workstation))
|
||||
{
|
||||
Transform point = MqttManager.Instance.Mechanicalarm(roboticarm.Workstation);
|
||||
transform.DOMove(point.position, (Vector3.Distance(transform.position, point.position) / speed)).SetEase(Ease.InOutQuad).OnComplete(() =>
|
||||
{
|
||||
animations.Play("put");
|
||||
Invoke("Laydown", 1f);
|
||||
StartCoroutine(Judgmentbox2(roboticarm.Workstation));
|
||||
});
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 查找箱子点位
|
||||
/// </summary>
|
||||
/// <param name="point"></param>
|
||||
IEnumerator Judgmentbox(string box)
|
||||
{
|
||||
yield return new WaitForSeconds(0.95f);
|
||||
switch (box)
|
||||
{
|
||||
case "11":
|
||||
Deletebox("5402");
|
||||
break;
|
||||
case "12":
|
||||
Deletebox("5402");
|
||||
break;
|
||||
case "21":
|
||||
Deletebox("5406");
|
||||
break;
|
||||
case "22":
|
||||
Deletebox("5406");
|
||||
break;
|
||||
case "31":
|
||||
Deletebox("5408");
|
||||
break;
|
||||
case "32":
|
||||
Deletebox("5408");
|
||||
break;
|
||||
case "41":
|
||||
Deletebox("5410");
|
||||
break;
|
||||
case "42":
|
||||
Deletebox("5410");
|
||||
break;
|
||||
case "51":
|
||||
Deletebox("5414");
|
||||
break;
|
||||
case "52":
|
||||
Deletebox("5414");
|
||||
break;
|
||||
case "61":
|
||||
Deletebox("5416");
|
||||
break;
|
||||
case "62":
|
||||
Deletebox("5416");
|
||||
break;
|
||||
case "71":
|
||||
Deletebox("5418");
|
||||
break;
|
||||
case "72":
|
||||
Deletebox("5418");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 放下箱子
|
||||
/// </summary>
|
||||
/// <param name="box"></param>
|
||||
IEnumerator Judgmentbox2(string box)
|
||||
{
|
||||
yield return new WaitForSeconds(1.03f);
|
||||
switch (box)
|
||||
{
|
||||
case "111":
|
||||
Addbox("5404");
|
||||
break;
|
||||
case "112":
|
||||
Addbox("5404");
|
||||
break;
|
||||
case "121":
|
||||
Addbox("5410");
|
||||
break;
|
||||
case "122":
|
||||
Addbox("5410");
|
||||
break;
|
||||
case "131":
|
||||
Addbox("5412");
|
||||
break;
|
||||
case "132":
|
||||
Addbox("5412");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除对应点位箱子
|
||||
/// </summary>
|
||||
public void Deletebox(string point)
|
||||
{
|
||||
if (MqttManager.Instance.GetTransformByName(point))
|
||||
{
|
||||
Transform points = MqttManager.Instance.GetTransformByName(point);
|
||||
if (points.GetChild(0).transform.childCount == 1)
|
||||
{
|
||||
GameObject box = points.transform.GetChild(0).GetChild(0).gameObject;
|
||||
box.transform.SetParent(null);
|
||||
box.transform.position = this.points.transform.position;
|
||||
box.transform.localEulerAngles = new Vector3(0, 0, 0);
|
||||
box.transform.SetParent(this.points);
|
||||
|
||||
Debug.Log("删除第一个对应箱子");
|
||||
}
|
||||
else if (points.childCount == 1)
|
||||
{
|
||||
GameObject box = points.transform.GetChild(0).gameObject;
|
||||
box.transform.SetParent(null);
|
||||
box.transform.position = this.points.transform.position;
|
||||
box.transform.localEulerAngles = new Vector3(0, 0, 0);
|
||||
box.transform.SetParent(this.points);
|
||||
Debug.Log("删除第二个对应箱子");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("找不到删除对象");
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 增加对应箱子
|
||||
/// </summary>
|
||||
public void Addbox(string point)
|
||||
{
|
||||
if (MqttManager.Instance.GetTransformByName(point))
|
||||
{
|
||||
Transform points = MqttManager.Instance.GetTransformByName(point);
|
||||
if (points.childCount == 0)
|
||||
{
|
||||
Debug.Log("添加第一个箱子");
|
||||
boxdata = Instantiate(Box, points.transform);
|
||||
}
|
||||
else if (points.childCount == 1)
|
||||
{
|
||||
Debug.Log("添加第二个箱子");
|
||||
if (boxdata)
|
||||
{
|
||||
Destroy(boxdata);
|
||||
}
|
||||
GameObject game = Instantiate(Box2, points.transform);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除手臂的箱子
|
||||
/// </summary>
|
||||
public void Laydown()
|
||||
{
|
||||
if (points.transform.childCount > 0)
|
||||
{
|
||||
GameObject game = points.transform.GetChild(0).gameObject;
|
||||
Destroy(game);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,7 +105,13 @@ public class MqttManager : MonoSingleton<MqttManager>
|
|||
public List<Warehousingdata> warehousingdatas = new List<Warehousingdata>();
|
||||
[Header("所有码垛机")]
|
||||
public List<Palletizertent> pallerizertent = new List<Palletizertent>();
|
||||
[Obsolete]
|
||||
[Header("所有机械手臂")]
|
||||
public List<Machine> machines = new List<Machine>();
|
||||
[Header("机械手臂点位存储")]
|
||||
public Transform Roboticarmpointposition;
|
||||
public Transform[] Robotpoints;
|
||||
[Header("所有电池设备")]
|
||||
public List<Batteryanimation> batteryanimations = new List<Batteryanimation>();
|
||||
private void Awake()
|
||||
{
|
||||
//启动MQTT连接
|
||||
|
@ -117,6 +123,7 @@ public class MqttManager : MonoSingleton<MqttManager>
|
|||
private void Start()
|
||||
{
|
||||
points = Locationnumber.GetComponentsInChildren<Transform>();
|
||||
Robotpoints = Roboticarmpointposition.GetComponentsInChildren<Transform>();
|
||||
}
|
||||
/// <summary>
|
||||
/// 接受MQTT消息
|
||||
|
@ -148,37 +155,53 @@ public class MqttManager : MonoSingleton<MqttManager>
|
|||
switch (data)
|
||||
{
|
||||
case "qc":
|
||||
//换电池
|
||||
Qcbd qcbd = JsonConvert.DeserializeObject<Qcbd>(str.message);
|
||||
qcbdequipments.Add(qcbd);
|
||||
|
||||
if (batteryanimations.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < batteryanimations.Count; i++)
|
||||
{
|
||||
int index = i;
|
||||
if (batteryanimations[index].ID == qcbd.id)
|
||||
{
|
||||
batteryanimations[index].Batterydata(qcbd);
|
||||
}
|
||||
}
|
||||
}
|
||||
//qcbdequipments.Add(qcbd);
|
||||
break;
|
||||
case "el":
|
||||
//提升机
|
||||
Elvequipment elvequipment = JsonConvert.DeserializeObject<Elvequipment>(str.message);
|
||||
if (hoists.Count > 0)
|
||||
{
|
||||
for (int i = 0; i < hoists.Count; i++)
|
||||
{
|
||||
if (hoists[i].ID == elvequipment.id)
|
||||
int index = i;
|
||||
if (hoists[index].ID == elvequipment.id)
|
||||
{
|
||||
hoists[i].Hoister(elvequipment);
|
||||
hoists[index].Hoister(elvequipment);
|
||||
}
|
||||
}
|
||||
}
|
||||
elvequipments.Add(elvequipment);
|
||||
//elvequipments.Add(elvequipment);
|
||||
break;
|
||||
case "dp":
|
||||
//码垛机
|
||||
Dpmequipment dpmequipment = JsonConvert.DeserializeObject<Dpmequipment>(str.message);
|
||||
for (int i = 0; i < pallerizertent.Count; i++)
|
||||
{
|
||||
if (pallerizertent[i].ID == dpmequipment.id)
|
||||
int index = i;
|
||||
if (pallerizertent[index].ID == dpmequipment.id)
|
||||
{
|
||||
pallerizertent[i].Stacking(dpmequipment);
|
||||
pallerizertent[index].Stacking(dpmequipment);
|
||||
}
|
||||
}
|
||||
dpmequipments.Add(dpmequipment);
|
||||
//dpmequipments.Add(dpmequipment);
|
||||
|
||||
break;
|
||||
case "co":
|
||||
//输送机
|
||||
Convoyorequipment convoyorequipment = JsonConvert.DeserializeObject<Convoyorequipment>(str.message);
|
||||
string con = convoyorequipment.Id.Substring(0, 2);
|
||||
if (con == "54")
|
||||
|
@ -191,7 +214,7 @@ public class MqttManager : MonoSingleton<MqttManager>
|
|||
consents[index].ConveyorData(convoyorequipment);
|
||||
}
|
||||
}
|
||||
}
|
||||
}//出库输送机
|
||||
else
|
||||
{
|
||||
if (warehousingdatas.Count > 0)
|
||||
|
@ -205,9 +228,10 @@ public class MqttManager : MonoSingleton<MqttManager>
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}//入库输送机
|
||||
break;
|
||||
case "ca":
|
||||
//小车
|
||||
Carequipment carequipment = JsonConvert.DeserializeObject<Carequipment>(str.message);
|
||||
for (int i = 0; i < cars.Count; i++)
|
||||
{
|
||||
|
@ -220,13 +244,25 @@ public class MqttManager : MonoSingleton<MqttManager>
|
|||
break;
|
||||
case "fe":
|
||||
Feequipment feequipment = JsonConvert.DeserializeObject<Feequipment>(str.message);
|
||||
feequipments.Add(feequipment);
|
||||
//feequipments.Add(feequipment);
|
||||
break;
|
||||
case "cm":
|
||||
Cmequipment cmequipment = JsonConvert.DeserializeObject<Cmequipment>(str.message);
|
||||
|
||||
cmequipments.Add(cmequipment);
|
||||
|
||||
//cmequipments.Add(cmequipment);
|
||||
break;
|
||||
case "fx":
|
||||
//机械手臂
|
||||
Roboticarm roboticarm = JsonConvert.DeserializeObject<Roboticarm>(str.message);
|
||||
for (int i = 0; i < machines.Count; i++)
|
||||
{
|
||||
int index = i;
|
||||
if (machines[index].Id == roboticarm.id)
|
||||
{
|
||||
Debug.Log("进来了");
|
||||
machines[index].Getarm(roboticarm);
|
||||
Debug.Log("调用对应机械手臂" + roboticarm.id);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -259,6 +295,20 @@ public class MqttManager : MonoSingleton<MqttManager>
|
|||
}
|
||||
return null;
|
||||
}
|
||||
public Transform Mechanicalarm(string name)
|
||||
{
|
||||
if (Robotpoints.Length > 0)
|
||||
{
|
||||
for (int i = 0; i < Robotpoints.Length; i++)
|
||||
{
|
||||
if (Robotpoints[i].name == name)
|
||||
{
|
||||
return Robotpoints[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
/// <summary>
|
||||
/// 通过箱子id删除对应的箱子和添加对应的箱子
|
||||
/// </summary>
|
||||
|
|
|
@ -203,97 +203,97 @@ namespace DefaultNamespace
|
|||
public class Qcbd
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
public string id;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string battery_status0;
|
||||
public string Take0Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string battery_status1;
|
||||
public string Put0Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string battery_status2;
|
||||
public string Take1Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string battery_status3;
|
||||
public string Put1Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string bits_in_place0;
|
||||
public string Take2Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string bits_in_place1;
|
||||
public string Put2Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string bits_in_place2;
|
||||
public string Take3Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string bits_in_place3;
|
||||
public string Put3Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string charging_status2;
|
||||
public string BatteryStatus0;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string charging_status3;
|
||||
public string BatteryStatus1;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BatteryStatus2;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BatteryStatus3;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string DeviceBatteryStatus;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ChargingStatus2;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string ChargingStatus3 ;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string InPlace0;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string InPlace1;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string InPlace2;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string InPlace3;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FaultFree;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Ascent;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Descent;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Device_battery_status;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Put_0_Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Put_1_Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Put_2_Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Put_3_Battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Rise;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Take_0_battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Take_1_battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Take_2_battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Take_3_battery;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Trouble_free;
|
||||
}
|
||||
/// <summary>
|
||||
/// 查询提升机
|
||||
|
@ -2344,4 +2344,143 @@ namespace DefaultNamespace
|
|||
/// </summary>
|
||||
public string bottomBoxWeight;
|
||||
}
|
||||
/// <summary>
|
||||
/// 机械手臂实体类
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class Roboticarm
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string id;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Taskflag;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Takeupposition;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Feedposition;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Containerlocation;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string TaskCasenumber;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Tobaccoweight;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RFIDCasenumber;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Readstate;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Readfailure;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Comparisonfailure;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Thecasenumberisinconsistent;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Thebrandcomparisonisinconsistent;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string resetting;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BtnContinuetoturnoverthebox;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string BtnDirectreturn ;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string HandAutomode;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Automaticoperation;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string scram;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string breakdown;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Fetchrequest;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Containerremovalcompleted;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string RequestreadRFID;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Feedrequest;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Feedcompletion;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Requestcontainer;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Packingcomplete;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Therobotisatthemaintenancestation;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Safetydooropen;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Jobcontent;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Workstation;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Walkingencoderpositionvalue;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Workingsmokeboxnumber;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
using DefaultNamespace;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Batteryanimation : MonoBehaviour
|
||||
{
|
||||
public string ID;
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 接收电池数据
|
||||
/// </summary>
|
||||
/// <param name="qcbd"></param>
|
||||
public void Batterydata(Qcbd qcbd)
|
||||
{
|
||||
Debug.Log("大大的电池");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0a2a614d6cfb5134eb2dfeba24deaaa6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -75,6 +75,78 @@ public class Conveyordata : MonoBehaviour
|
|||
if (convoyorequipment.TaskNumber.Length > 0 && convoyorequipment.BoxesNumber != "0" && !ispcon)
|
||||
{
|
||||
Debug.Log("初始化输出机");
|
||||
if (convoyorequipment.BoxesNumber == "2" && ID == "5430" && !ispcon)
|
||||
{
|
||||
Hoistmovement hoistmovement = transform.GetComponent<Hoistmovement>();
|
||||
if (hoistmovement)
|
||||
{
|
||||
if (hoistmovement.Floor ==1)
|
||||
{
|
||||
Debug.Log("提升机初始化一层");
|
||||
IntiPos(convoyorequipment, hoistmovement.Downpoint);
|
||||
}
|
||||
else if (hoistmovement.Floor == 2)
|
||||
{
|
||||
Debug.Log("提升机初始化二层");
|
||||
IntiPos2(convoyorequipment, hoistmovement.UPpoint);
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
else if(convoyorequipment.BoxesNumber == "2" && ID == "5427" && !ispcon)
|
||||
{
|
||||
Hoistmovement hoistmovement = transform.GetComponent<Hoistmovement>();
|
||||
if (hoistmovement)
|
||||
{
|
||||
if (hoistmovement.Floor == 1)
|
||||
{
|
||||
Debug.Log("提升机初始化一层");
|
||||
IntiPos(convoyorequipment, hoistmovement.Downpoint);
|
||||
}
|
||||
else if (hoistmovement.Floor == 2)
|
||||
{
|
||||
Debug.Log("提升机初始化二层");
|
||||
IntiPos2(convoyorequipment, hoistmovement.UPpoint);
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
else if(convoyorequipment.BoxesNumber == "2" && ID == "5424" && !ispcon)
|
||||
{
|
||||
Hoistmovement hoistmovement = transform.GetComponent<Hoistmovement>();
|
||||
if (hoistmovement)
|
||||
{
|
||||
if (hoistmovement.Floor == 1)
|
||||
{
|
||||
Debug.Log("提升机初始化一层");
|
||||
IntiPos(convoyorequipment, hoistmovement.Downpoint);
|
||||
}
|
||||
else if (hoistmovement.Floor == 2)
|
||||
{
|
||||
Debug.Log("提升机初始化二层");
|
||||
IntiPos2(convoyorequipment, hoistmovement.UPpoint);
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
else if(convoyorequipment.BoxesNumber == "2" && ID == "5421" && !ispcon)
|
||||
{
|
||||
Hoistmovement hoistmovement = transform.GetComponent<Hoistmovement>();
|
||||
if (hoistmovement)
|
||||
{
|
||||
if (hoistmovement.Floor == 1)
|
||||
{
|
||||
Debug.Log("提升机初始化一层");
|
||||
IntiPos(convoyorequipment, hoistmovement.Downpoint);
|
||||
}
|
||||
else if (hoistmovement.Floor == 2)
|
||||
{
|
||||
Debug.Log("提升机初始化二层");
|
||||
IntiPos2(convoyorequipment, hoistmovement.UPpoint);
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
if (convoyorequipment.BoxesNumber == "1" && !ispcon)
|
||||
{
|
||||
Init(convoyorequipment);
|
||||
|
@ -100,6 +172,25 @@ public class Conveyordata : MonoBehaviour
|
|||
}
|
||||
}
|
||||
ispcon = true;
|
||||
if (convoyorequipment.TaskNumber.Length > 0 && ID == "5404")
|
||||
{
|
||||
Debug.Log("给5404箱子换颜色");
|
||||
Viewbox(convoyorequipment.TaskNumber);
|
||||
}
|
||||
else if (convoyorequipment.TaskNumber.Length > 0 && ID == "5410")
|
||||
{
|
||||
Debug.Log("给5410箱子换颜色");
|
||||
Viewbox(convoyorequipment.TaskNumber);
|
||||
}
|
||||
else if (convoyorequipment.TaskNumber.Length > 0 && ID == "5412")
|
||||
{
|
||||
Debug.Log("给5412箱子换颜色");
|
||||
Viewbox(convoyorequipment.TaskNumber);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("出库不需要操作颜色");
|
||||
}
|
||||
if (convoyorequipment.ForwardRotation == "True")
|
||||
{
|
||||
Debug.Log("正转");
|
||||
|
@ -111,6 +202,163 @@ public class Conveyordata : MonoBehaviour
|
|||
Reverseposition();
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
/// <summary>
|
||||
/// 查看物体有几个箱子
|
||||
/// </summary>
|
||||
public void Viewbox(string boxid)
|
||||
{
|
||||
if (Antipoint.childCount == 1)
|
||||
{
|
||||
if (Antipoint.transform.GetChild(0).childCount > 0)
|
||||
{
|
||||
GameObject game = Antipoint.GetChild(0).gameObject;
|
||||
ColourInit2(boxid, game);
|
||||
}
|
||||
else if (Antipoint.childCount == 1)
|
||||
{
|
||||
GameObject game = Antipoint.GetChild(0).gameObject;
|
||||
ColourInit(boxid, game);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 展示颜色
|
||||
/// </summary>
|
||||
/// <param name="boxid"></param>
|
||||
public void ColourInit(string boxid, GameObject box)
|
||||
{
|
||||
string url = Tasknumber + boxid;
|
||||
StartCoroutine(Getstring(url, (data) =>
|
||||
{
|
||||
Initdata initdata = JsonUtility.FromJson<Initdata>(data);
|
||||
if (initdata != null)
|
||||
{
|
||||
Boxtasknumber boxtasknumber = box.GetComponent<Boxtasknumber>();
|
||||
boxtasknumber.ID = initdata.result[0].transferId;
|
||||
switch (initdata.result[0].palletType)
|
||||
{
|
||||
case "QBox":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Normalairbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Commonfruitbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "Box":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Specialbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Specialkernelbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
/// <summary>
|
||||
/// 展示颜色
|
||||
/// </summary>
|
||||
/// <param name="boxid"></param>
|
||||
public void ColourInit2(string boxid, GameObject box)
|
||||
{
|
||||
string url = Tasknumber + boxid;
|
||||
StartCoroutine(Getstring(url, (data) =>
|
||||
{
|
||||
Initdata initdata = JsonUtility.FromJson<Initdata>(data);
|
||||
if (initdata != null)
|
||||
{
|
||||
Debug.Log("初始化完成");
|
||||
Boxtasknumber boxtasknumber = box.GetComponent<Boxtasknumber>();
|
||||
boxtasknumber.ID = initdata.result[0].transferId;
|
||||
switch (initdata.result[0].palletType)
|
||||
{
|
||||
case "QBox":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Normalairbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Normalairbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Commonfruitbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Commonfruitbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "Box":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Specialbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Specialbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Specialkernelbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Specialkernelbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
/// <summary>
|
||||
/// 初始化两个箱子
|
||||
|
@ -383,4 +631,190 @@ public class Conveyordata : MonoBehaviour
|
|||
Debug.Log("啥也不是");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 提升机初始化一层位置
|
||||
/// </summary>
|
||||
public void IntiPos(Convoyorequipment boxid,Transform point)
|
||||
{
|
||||
string url = Tasknumber + boxid.TaskNumber;
|
||||
StartCoroutine(Getstring(url, (data) =>
|
||||
{
|
||||
Initdata initdata = JsonUtility.FromJson<Initdata>(data);
|
||||
if (initdata != null && Boxgame2)
|
||||
{
|
||||
GameObject box = Instantiate(Boxgame2, point);
|
||||
Boxtasknumber boxtasknumber = box.GetComponent<Boxtasknumber>();
|
||||
boxtasknumber.ID = initdata.result[0].transferId;
|
||||
switch (initdata.result[0].palletType)
|
||||
{
|
||||
case "QBox":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Normalairbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Normalairbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Commonfruitbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Commonfruitbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "Box":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Specialbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Specialbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Specialkernelbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Specialkernelbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
//box.gameObject.transform.localEulerAngles = new Vector3(90, 0, 0);
|
||||
//box.gameObject.transform.position = new Vector3(box.transform.position.x, box.transform.position.y + 1.3f, box.transform.position.z);
|
||||
box.gameObject.transform.SetParent(point, false);
|
||||
MqttManager.Instance.firstbox.Add(box);
|
||||
if (boxid.ForwardRotation == "True")
|
||||
{
|
||||
Debug.Log("正转");
|
||||
Forwardposition();
|
||||
}
|
||||
else if (boxid.ReverseRotation == "True")
|
||||
{
|
||||
Debug.Log("反转");
|
||||
Reverseposition();
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
/// <summary>
|
||||
/// 提升机二层初始化位置
|
||||
/// </summary>
|
||||
/// <param name="boxid"></param>
|
||||
/// <param name="point"></param>
|
||||
public void IntiPos2(Convoyorequipment boxid, Transform point)
|
||||
{
|
||||
string url = Tasknumber + boxid.TaskNumber;
|
||||
StartCoroutine(Getstring(url, (data) =>
|
||||
{
|
||||
Initdata initdata = JsonUtility.FromJson<Initdata>(data);
|
||||
if (initdata != null && Boxgame2)
|
||||
{
|
||||
GameObject box = Instantiate(Boxgame2, point);
|
||||
Boxtasknumber boxtasknumber = box.GetComponent<Boxtasknumber>();
|
||||
boxtasknumber.ID = initdata.result[0].transferId;
|
||||
switch (initdata.result[0].palletType)
|
||||
{
|
||||
case "QBox":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Normalairbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Normalairbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Commonfruitbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Commonfruitbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "Box":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Specialbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Specialbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Specialkernelbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Specialkernelbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
//box.gameObject.transform.localEulerAngles = new Vector3(90, 0, 0);
|
||||
//box.gameObject.transform.position = new Vector3(box.transform.position.x, box.transform.position.y + 1.3f, box.transform.position.z);
|
||||
box.gameObject.transform.SetParent(point, false);
|
||||
MqttManager.Instance.firstbox.Add(box);
|
||||
if (boxid.ForwardRotation == "True")
|
||||
{
|
||||
Debug.Log("正转");
|
||||
Forwardposition();
|
||||
}
|
||||
else if (boxid.ReverseRotation == "True")
|
||||
{
|
||||
Debug.Log("反转");
|
||||
Reverseposition();
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,6 +22,9 @@ public class Hoistmovement : MonoBehaviour
|
|||
/// 运动的速度
|
||||
/// </summary>
|
||||
public float Speed = 3.5f;
|
||||
/// <summary>
|
||||
/// 判断提升机位置在那一层
|
||||
/// </summary>
|
||||
public float Floor;
|
||||
public void Hoister(Elvequipment elvequipment)
|
||||
{
|
||||
|
|
|
@ -205,7 +205,7 @@ public class Interaction : MonoBehaviour
|
|||
// Debug.Log(url);
|
||||
StartCoroutine(Post1(url, (data) =>
|
||||
{
|
||||
//Debug.Log(data);
|
||||
Debug.Log(data);
|
||||
Elevatorpopup elevatdata = JsonUtility.FromJson<Elevatorpopup>(data);
|
||||
// Debug.Log(elevatdata.result.lowerDecelerationInspection);
|
||||
UIHoister.Gethoister(elevatdata.result.taskNumber, elevatdata.result.currentLayer, elevatdata.result.targetLayer, elevatdata.result.startingLayer,
|
||||
|
@ -229,7 +229,7 @@ public class Interaction : MonoBehaviour
|
|||
//Debug.Log(url);
|
||||
StartCoroutine(Post1(url, (data) =>
|
||||
{
|
||||
//Debug.Log(data);
|
||||
Debug.Log(data);
|
||||
PalletizerMessage palletizer = JsonUtility.FromJson<PalletizerMessage>(data);
|
||||
// Debug.Log(palletizer.result.id);
|
||||
UIPalletizer.Getpalletizer(palletizer.result.boxesNumber, palletizer.result.leftExtensionForkPositionInspection, palletizer.result.rightExtensionForkPositionInspection,
|
||||
|
@ -253,7 +253,7 @@ public class Interaction : MonoBehaviour
|
|||
// Debug.Log(url);
|
||||
StartCoroutine(Post1(url, (data) =>
|
||||
{
|
||||
//Debug.Log(data);
|
||||
Debug.Log(data);
|
||||
Batterydata batterydata = JsonUtility.FromJson<Batterydata>(data);
|
||||
Debug.Log(batterydata.result.id);
|
||||
UIReplacebattery.Getbattery(batterydata.result.taskNumber, batterydata.result.batteryStatus0, batterydata.result.batteryStatus1, batterydata.result.batteryStatus2, batterydata.result.batteryStatus3,
|
||||
|
@ -275,7 +275,7 @@ public class Interaction : MonoBehaviour
|
|||
// Debug.Log(url);
|
||||
StartCoroutine(Post1(url, (data) =>
|
||||
{
|
||||
//Debug.Log(data);
|
||||
Debug.Log(data);
|
||||
Conveyors outofthe = JsonUtility.FromJson<Conveyors>(data);
|
||||
Debug.Log(outofthe.result.id);
|
||||
UIConveyorpanel.Getconvey(outofthe.result.taskNumber, outofthe.result.upperBoxNumber, outofthe.result.startingAddress, outofthe.result.upperBoxTobaccoWeight, outofthe.result.destinationAddress, outofthe.result.lowerBoxNumber,
|
||||
|
@ -297,7 +297,7 @@ public class Interaction : MonoBehaviour
|
|||
// Debug.Log(url);
|
||||
StartCoroutine(Post1(url, (data) =>
|
||||
{
|
||||
//Debug.Log(data);
|
||||
Debug.Log(data);
|
||||
Conveyors intothe = JsonUtility.FromJson<Conveyors>(data);
|
||||
//Debug.Log(intothe.result.id);
|
||||
UIConveyorpanel.Getconvey(intothe.result.taskNumber, intothe.result.upperBoxNumber, intothe.result.startingAddress, intothe.result.upperBoxTobaccoWeight, intothe.result.destinationAddress, intothe.result.lowerBoxNumber,
|
||||
|
@ -319,7 +319,7 @@ public class Interaction : MonoBehaviour
|
|||
//Debug.Log(url);
|
||||
StartCoroutine(Post1(url, (data) =>
|
||||
{
|
||||
//Debug.Log(data);
|
||||
Debug.Log(data);
|
||||
Feequipments feequipments = JsonUtility.FromJson<Feequipments>(data);
|
||||
//Debug.Log(feequipments.result.id);
|
||||
UIFloorelevator.Getfloorele(feequipments.result.deviceStatus, feequipments.result.upperInPlace, feequipments.result.ascent, feequipments.result.upperLimitInspection,
|
||||
|
@ -342,7 +342,7 @@ public class Interaction : MonoBehaviour
|
|||
//Debug.Log(url);
|
||||
StartCoroutine(Post1(url, (data) =>
|
||||
{
|
||||
//Debug.Log(data);
|
||||
Debug.Log(data);
|
||||
Decappingmachine decappingmachine = JsonUtility.FromJson<Decappingmachine>(data);
|
||||
// Debug.Log(decappingmachine.result.id);
|
||||
UICoverremovalmachine.Getdecap(decappingmachine.result.caseLidStatus, decappingmachine.result.frontInPlaceInspection, decappingmachine.result.rearInPlaceInspection, decappingmachine.result.frontDecelerationInspection,
|
||||
|
|
|
@ -64,7 +64,61 @@ public class Warehousingdata : MonoBehaviour
|
|||
{
|
||||
if (convoyorequipment.TaskNumber.Length > 0 && convoyorequipment.BoxesNumber != "0" && !ispcon)
|
||||
{
|
||||
Debug.Log("初始化输出机");
|
||||
if (convoyorequipment.BoxesNumber == "2" && ID == "5203" && !ispcon)
|
||||
{
|
||||
Hoistmovement hoistmovement = transform.GetComponent<Hoistmovement>();
|
||||
if (hoistmovement)
|
||||
{
|
||||
if (hoistmovement.Floor == 1)
|
||||
{
|
||||
Debug.Log("提升机初始化一层");
|
||||
IntiPos(convoyorequipment, hoistmovement.Downpoint);
|
||||
}
|
||||
else if (hoistmovement.Floor == 2)
|
||||
{
|
||||
Debug.Log("提升机初始化二层");
|
||||
IntiPos2(convoyorequipment, hoistmovement.UPpoint);
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
else if(convoyorequipment.BoxesNumber == "2" && ID == "5236" && !ispcon)
|
||||
{
|
||||
Hoistmovement hoistmovement = transform.GetComponent<Hoistmovement>();
|
||||
if (hoistmovement)
|
||||
{
|
||||
if (hoistmovement.Floor == 1)
|
||||
{
|
||||
Debug.Log("提升机初始化一层");
|
||||
IntiPos(convoyorequipment, hoistmovement.Downpoint);
|
||||
}
|
||||
else if (hoistmovement.Floor == 2)
|
||||
{
|
||||
Debug.Log("提升机初始化二层");
|
||||
IntiPos2(convoyorequipment, hoistmovement.UPpoint);
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
if(convoyorequipment.BoxesNumber == "2" && ID == "5249" && !ispcon)
|
||||
{
|
||||
Hoistmovement hoistmovement = transform.GetComponent<Hoistmovement>();
|
||||
if (hoistmovement)
|
||||
{
|
||||
if (hoistmovement.Floor == 1)
|
||||
{
|
||||
Debug.Log("提升机初始化一层");
|
||||
IntiPos(convoyorequipment, hoistmovement.Downpoint);
|
||||
}
|
||||
else if (hoistmovement.Floor == 2)
|
||||
{
|
||||
Debug.Log("提升机初始化二层");
|
||||
IntiPos2(convoyorequipment, hoistmovement.UPpoint);
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
Debug.Log("初始化输出机");
|
||||
if (convoyorequipment.BoxesNumber == "1" && !ispcon)
|
||||
{
|
||||
Init(convoyorequipment);
|
||||
|
@ -115,7 +169,9 @@ public class Warehousingdata : MonoBehaviour
|
|||
Tothereversal();
|
||||
}
|
||||
}
|
||||
ispcon = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 改变箱子颜色
|
||||
/// </summary>
|
||||
|
@ -536,4 +592,188 @@ public class Warehousingdata : MonoBehaviour
|
|||
Debug.Log("没有反转条件");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 提升机点位二层
|
||||
/// </summary>
|
||||
/// <param name="convoyorequipment"></param>
|
||||
/// <param name="uPpoint"></param>
|
||||
private void IntiPos2(Convoyorequipment boxid, Transform point)
|
||||
{
|
||||
string url = Tasknumber + boxid.TaskNumber;
|
||||
StartCoroutine(Getstring(url, (data) =>
|
||||
{
|
||||
Initdata initdata = JsonUtility.FromJson<Initdata>(data);
|
||||
if (initdata != null && Boxgame2)
|
||||
{
|
||||
GameObject box = Instantiate(Boxgame2, point);
|
||||
Boxtasknumber boxtasknumber = box.GetComponent<Boxtasknumber>();
|
||||
boxtasknumber.ID = initdata.result[0].transferId;
|
||||
switch (initdata.result[0].palletType)
|
||||
{
|
||||
case "QBox":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Normalairbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Normalairbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Commonfruitbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Commonfruitbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "Box":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Specialbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Specialbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Specialkernelbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Specialkernelbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
//box.gameObject.transform.localEulerAngles = new Vector3(90, 0, 0);
|
||||
//box.gameObject.transform.position = new Vector3(box.transform.position.x, box.transform.position.y + 1.3f, box.transform.position.z);
|
||||
box.gameObject.transform.SetParent(point, false);
|
||||
MqttManager.Instance.firstbox.Add(box);
|
||||
if (boxid.ForwardRotation == "True")
|
||||
{
|
||||
Intotheforword();
|
||||
}
|
||||
else if (boxid.ReverseRotation == "True")
|
||||
{
|
||||
Tothereversal();
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
/// <summary>
|
||||
/// 提升机点位一层
|
||||
/// </summary>
|
||||
/// <param name="convoyorequipment"></param>
|
||||
/// <param name="downpoint"></param>
|
||||
private void IntiPos(Convoyorequipment boxid, Transform point)
|
||||
{
|
||||
string url = Tasknumber + boxid.TaskNumber;
|
||||
StartCoroutine(Getstring(url, (data) =>
|
||||
{
|
||||
Initdata initdata = JsonUtility.FromJson<Initdata>(data);
|
||||
if (initdata != null && Boxgame2)
|
||||
{
|
||||
GameObject box = Instantiate(Boxgame2, point);
|
||||
Boxtasknumber boxtasknumber = box.GetComponent<Boxtasknumber>();
|
||||
boxtasknumber.ID = initdata.result[0].transferId;
|
||||
switch (initdata.result[0].palletType)
|
||||
{
|
||||
case "QBox":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Normalairbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Normalairbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Commonfruitbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Commonfruitbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "Box":
|
||||
if (initdata.result[0].itemType == "EmptyBox")
|
||||
{
|
||||
Renderer renderer = box.GetComponent<Renderer>();
|
||||
Renderer renderer1 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer != null)
|
||||
{
|
||||
renderer.material = Specialbox;
|
||||
}
|
||||
if (renderer1 != null)
|
||||
{
|
||||
renderer1.material = Specialbox;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Renderer renderer2 = box.GetComponent<Renderer>();
|
||||
Renderer renderer3 = box.transform.GetChild(0).GetComponent<Renderer>();
|
||||
if (renderer2 != null)
|
||||
{
|
||||
renderer2.material = Specialkernelbox;
|
||||
}
|
||||
if (renderer3 != null)
|
||||
{
|
||||
renderer3.material = Specialkernelbox;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
//box.gameObject.transform.localEulerAngles = new Vector3(90, 0, 0);
|
||||
//box.gameObject.transform.position = new Vector3(box.transform.position.x, box.transform.position.y + 1.3f, box.transform.position.z);
|
||||
box.gameObject.transform.SetParent(point, false);
|
||||
MqttManager.Instance.firstbox.Add(box);
|
||||
if (boxid.ForwardRotation == "True")
|
||||
{
|
||||
Intotheforword();
|
||||
}
|
||||
else if (boxid.ReverseRotation == "True")
|
||||
{
|
||||
Tothereversal();
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue