Merge branch 'main' of http://7d2f0537.r5.cpolar.top/WangWeiZhi/YanCheng_Metrology
This commit is contained in:
commit
4766fa4d06
Binary file not shown.
|
@ -0,0 +1,107 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 50ee47915839b7f44886804e3e12f633
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 21300
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 2
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
removeConstantScaleCurves: 1
|
||||||
|
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
|
||||||
|
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
|
||||||
|
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,107 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 179a5688a95dfd44788db3e0947c79b0
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 21300
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 2
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
removeConstantScaleCurves: 1
|
||||||
|
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
|
||||||
|
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
|
||||||
|
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -694,6 +694,10 @@ PrefabInstance:
|
||||||
propertyPath: m_Layer
|
propertyPath: m_Layer
|
||||||
value: 6
|
value: 6
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1342273091210630203, guid: fe4c1814d44af964c94c33808b704426, type: 3}
|
||||||
|
propertyPath: m_Materials.Array.data[0]
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2100000, guid: b9f45527b9d758746ba04747688797b6, type: 2}
|
||||||
- target: {fileID: 1711505207429034123, guid: fe4c1814d44af964c94c33808b704426, type: 3}
|
- target: {fileID: 1711505207429034123, guid: fe4c1814d44af964c94c33808b704426, type: 3}
|
||||||
propertyPath: m_Layer
|
propertyPath: m_Layer
|
||||||
value: 6
|
value: 6
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -211,7 +211,8 @@ public class Device_3Phase4WireMeter : Device_Base
|
||||||
transform.localEulerAngles = Vector3.zero;
|
transform.localEulerAngles = Vector3.zero;
|
||||||
}).OnComplete(() =>
|
}).OnComplete(() =>
|
||||||
{
|
{
|
||||||
LiveSceneManager.Instance.currentTool = null;
|
LiveSceneManager.Instance.OnCheckSubProcess(false);
|
||||||
|
|
||||||
Debug.Log("电能表已安装");
|
Debug.Log("电能表已安装");
|
||||||
CallScoreAction(true);
|
CallScoreAction(true);
|
||||||
endAction?.Invoke();
|
endAction?.Invoke();
|
||||||
|
|
|
@ -31,6 +31,7 @@ public class Device_CabinetDoor : Device_Base
|
||||||
transform.DOLocalRotate(new Vector3(0, 0, 180), 3).OnComplete(() =>
|
transform.DOLocalRotate(new Vector3(0, 0, 180), 3).OnComplete(() =>
|
||||||
{
|
{
|
||||||
isOpen = true;
|
isOpen = true;
|
||||||
|
int result = (triggerAction == null ? 0 : triggerAction.Invoke(triggerName, true));
|
||||||
endAction?.Invoke();
|
endAction?.Invoke();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -46,6 +47,7 @@ public class Device_CabinetDoor : Device_Base
|
||||||
transform.Find("¼ÆÁ¿¹ñËø2/¼ÆÁ¿¹ñËø3").DOLocalRotate(new Vector3(0, 0, 0), 1).OnComplete(() =>
|
transform.Find("¼ÆÁ¿¹ñËø2/¼ÆÁ¿¹ñËø3").DOLocalRotate(new Vector3(0, 0, 0), 1).OnComplete(() =>
|
||||||
{
|
{
|
||||||
isOpen = false;
|
isOpen = false;
|
||||||
|
int result = (triggerAction == null ? 0 : triggerAction.Invoke(triggerName, true));
|
||||||
endAction?.Invoke();
|
endAction?.Invoke();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -55,7 +57,7 @@ public class Device_CabinetDoor : Device_Base
|
||||||
if (LiveSceneManager.Instance.currentTool != null && LiveSceneManager.Instance.currentTool.name == "Ñéµç±Ê")
|
if (LiveSceneManager.Instance.currentTool != null && LiveSceneManager.Instance.currentTool.name == "Ñéµç±Ê")
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ((triggerAction==null?0: triggerAction.Invoke(triggerName, true)) == 0)
|
if ((triggerAction == null ? 0 : triggerAction.Invoke(triggerName, false)) == 0)
|
||||||
{
|
{
|
||||||
base.OnMDown();
|
base.OnMDown();
|
||||||
if (isOpen)
|
if (isOpen)
|
||||||
|
|
|
@ -133,6 +133,14 @@ public class Score_1002 : ScoreBase
|
||||||
steps[3002].SetScore(true);
|
steps[3002].SetScore(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(triggerName== "됴箕묏鱗튿횅훰객큐")
|
||||||
|
{
|
||||||
|
steps[3003].SetScore(true);
|
||||||
|
}
|
||||||
|
else if(triggerName== "뀔陋묏데객큐")
|
||||||
|
{
|
||||||
|
steps[3004].SetScore(true);
|
||||||
|
}
|
||||||
else if (triggerName == "现场按钮")
|
else if (triggerName == "现场按钮")
|
||||||
{
|
{
|
||||||
//检查是否穿戴
|
//检查是否穿戴
|
||||||
|
|
|
@ -87,7 +87,7 @@ public class Tool_Base : PermanentTriggerBase
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 工具回到手中
|
/// 工具回到手中
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void ReBackHead()
|
public void ReBackHead(Action back=null)
|
||||||
{
|
{
|
||||||
isMoving = true;
|
isMoving = true;
|
||||||
transform.parent = Camera.main.transform;
|
transform.parent = Camera.main.transform;
|
||||||
|
@ -98,6 +98,7 @@ public class Tool_Base : PermanentTriggerBase
|
||||||
transform.localEulerAngles = head_LocalEulerAnglesl;
|
transform.localEulerAngles = head_LocalEulerAnglesl;
|
||||||
isMoving = false;
|
isMoving = false;
|
||||||
endAction?.Invoke();
|
endAction?.Invoke();
|
||||||
|
back?.Invoke();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,6 +75,7 @@ public class Tool_TestPen : Tool_Base
|
||||||
{
|
{
|
||||||
var tmp = ((Device_Socket)device_base);
|
var tmp = ((Device_Socket)device_base);
|
||||||
//位置移动
|
//位置移动
|
||||||
|
base.startAction?.Invoke();
|
||||||
transform.parent = null;
|
transform.parent = null;
|
||||||
transform.DORotate(tmp.testPosAndRot.eulerAngles, 0.5f);
|
transform.DORotate(tmp.testPosAndRot.eulerAngles, 0.5f);
|
||||||
transform.DOMove(tmp.testPosAndRot.position, 1).OnComplete(() =>
|
transform.DOMove(tmp.testPosAndRot.position, 1).OnComplete(() =>
|
||||||
|
@ -83,6 +84,7 @@ public class Tool_TestPen : Tool_Base
|
||||||
isFlicker = tmp.hasElectricity;
|
isFlicker = tmp.hasElectricity;
|
||||||
screem.materials[0].color = isFlicker ? Color.red : Color.white;
|
screem.materials[0].color = isFlicker ? Color.red : Color.white;
|
||||||
int index = (triggerAction == null ? 0 : triggerAction.Invoke($"{triggerName}+{device_base.triggerName}", true));
|
int index = (triggerAction == null ? 0 : triggerAction.Invoke($"{triggerName}+{device_base.triggerName}", true));
|
||||||
|
base.endAction?.Invoke();
|
||||||
base.CallScoreAction(null, $"{triggerName}+{device_base.triggerName}");
|
base.CallScoreAction(null, $"{triggerName}+{device_base.triggerName}");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -91,6 +93,7 @@ public class Tool_TestPen : Tool_Base
|
||||||
var tmp = ((Device_CabinetDoor)device_base);
|
var tmp = ((Device_CabinetDoor)device_base);
|
||||||
|
|
||||||
//位置移动
|
//位置移动
|
||||||
|
base.startAction?.Invoke();
|
||||||
transform.parent = null;
|
transform.parent = null;
|
||||||
transform.DOLocalRotate(tmp.testPosAndRot.localEulerAngles, 0.5f);
|
transform.DOLocalRotate(tmp.testPosAndRot.localEulerAngles, 0.5f);
|
||||||
transform.DOMove(tmp.testPosAndRot.position, 1).OnComplete(() =>
|
transform.DOMove(tmp.testPosAndRot.position, 1).OnComplete(() =>
|
||||||
|
@ -99,6 +102,7 @@ public class Tool_TestPen : Tool_Base
|
||||||
isFlicker = tmp.hasElectricity;
|
isFlicker = tmp.hasElectricity;
|
||||||
screem.materials[0].color = isFlicker ? Color.red : Color.white;
|
screem.materials[0].color = isFlicker ? Color.red : Color.white;
|
||||||
int index = (triggerAction == null ? 0 : triggerAction.Invoke($"{triggerName}+{device_base.triggerName}", true));
|
int index = (triggerAction == null ? 0 : triggerAction.Invoke($"{triggerName}+{device_base.triggerName}", true));
|
||||||
|
base.endAction?.Invoke();
|
||||||
base.CallScoreAction(null, $"{triggerName}+{device_base.triggerName}");
|
base.CallScoreAction(null, $"{triggerName}+{device_base.triggerName}");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -125,6 +129,7 @@ public class Tool_TestPen : Tool_Base
|
||||||
Debug.Log("螺丝 已验电");
|
Debug.Log("螺丝 已验电");
|
||||||
isFlicker = tmp.hasElectricity;
|
isFlicker = tmp.hasElectricity;
|
||||||
screem.materials[0].color = isFlicker ? Color.red : Color.white;
|
screem.materials[0].color = isFlicker ? Color.red : Color.white;
|
||||||
|
base.endAction?.Invoke();
|
||||||
base.CallScoreAction(null, $"{triggerName}+{tool_base.triggerName}");
|
base.CallScoreAction(null, $"{triggerName}+{tool_base.triggerName}");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,8 +53,10 @@ public class Tool_WireStripper : Tool_Base
|
||||||
device_Seal.Cut();
|
device_Seal.Cut();
|
||||||
isMoving = false;
|
isMoving = false;
|
||||||
|
|
||||||
ReBackHead();
|
ReBackHead(() =>
|
||||||
int result = (triggerAction == null ? 0 : triggerAction.Invoke(device_Seal.triggerName, true));
|
{
|
||||||
|
int result = (triggerAction == null ? 0 : triggerAction.Invoke(device_Seal.triggerName, true));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
|
|
|
@ -88,9 +88,10 @@ public class LiveSceneManager : SingletonMono<LiveSceneManager>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnCheckSubProcess()
|
public void OnCheckSubProcess(bool ifdestroy=true)
|
||||||
{
|
{
|
||||||
tMDTips.gameObject.SetActive(false);
|
tMDTips.gameObject.SetActive(false);
|
||||||
Destroy(currentTool);
|
if (ifdestroy)
|
||||||
|
Destroy(currentTool);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ public class UI_InstallAndDismantleTicketPanel : BasePanel
|
||||||
Debug.Log(submit);
|
Debug.Log(submit);
|
||||||
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true) == 0)
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true) == 0)
|
||||||
{
|
{
|
||||||
|
ScoreManager.instance.Check(triggerName, null);
|
||||||
//GameManager.ProcessMgr.CheckSubProcessSteps(GameManager.ProcessMgr.subProcessStepId);
|
//GameManager.ProcessMgr.CheckSubProcessSteps(GameManager.ProcessMgr.subProcessStepId);
|
||||||
GameManager.UIMgr.HidePanel<UI_InstallAndDismantleTicketPanel>();
|
GameManager.UIMgr.HidePanel<UI_InstallAndDismantleTicketPanel>();
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,7 @@ public class UI_LowTensionWorkTicketPanel : BasePanel
|
||||||
case "ConfirmBtn":
|
case "ConfirmBtn":
|
||||||
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true) == 0)
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true) == 0)
|
||||||
{
|
{
|
||||||
|
ScoreManager.instance.Check(triggerName, null);
|
||||||
GameManager.UIMgr.HidePanel<UI_LowTensionWorkTicketPanel>();
|
GameManager.UIMgr.HidePanel<UI_LowTensionWorkTicketPanel>();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue