合并
This commit is contained in:
commit
8f692a1114
8
Assets/Art/Models/LouDi/SM_YiFu.meta
Normal file
8
Assets/Art/Models/LouDi/SM_YiFu.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 756ac2853bb0d4d46ab1e3862bf9c009
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Art/Models/LouDi/SM_YiFu/Materials.meta
Normal file
8
Assets/Art/Models/LouDi/SM_YiFu/Materials.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a36c837887cfcb2419071f2380a3682a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
136
Assets/Art/Models/LouDi/SM_YiFu/Materials/Ani_YiSheng1__Body.mat
Normal file
136
Assets/Art/Models/LouDi/SM_YiFu/Materials/Ani_YiSheng1__Body.mat
Normal file
@ -0,0 +1,136 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-477986730180473883
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 7
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Ani_YiSheng1__Body
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- _NORMALMAP
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 1
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7f7f7d2c3174364b9c42eac692d1e1d, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: 2b409b8dfa1b19f4086fe0415f13e096, 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: f7f7f7d2c3174364b9c42eac692d1e1d, 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: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SpecGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 0.05
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 0
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.44721365
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.2
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _UVSec: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cd176eda378b92849a2215fd3de1bba6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Art/Models/LouDi/SM_YiFu/yifu.fbx
Normal file
BIN
Assets/Art/Models/LouDi/SM_YiFu/yifu.fbx
Normal file
Binary file not shown.
111
Assets/Art/Models/LouDi/SM_YiFu/yifu.fbx.meta
Normal file
111
Assets/Art/Models/LouDi/SM_YiFu/yifu.fbx.meta
Normal file
@ -0,0 +1,111 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ca7c2d311a9415b4d94a18f5978ce78b
|
||||
ModelImporter:
|
||||
serializedVersion: 21300
|
||||
internalIDToNameTable: []
|
||||
externalObjects:
|
||||
- first:
|
||||
type: UnityEngine:Material
|
||||
assembly: UnityEngine.CoreModule
|
||||
name: Ani_YiSheng1__Body
|
||||
second: {fileID: 2100000, guid: cd176eda378b92849a2215fd3de1bba6, type: 2}
|
||||
materials:
|
||||
materialImportMode: 1
|
||||
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
|
||||
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:
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,7 @@ MonoBehaviour:
|
||||
m_OverrideState: 0
|
||||
m_Value: 1
|
||||
threshold:
|
||||
m_OverrideState: 0
|
||||
m_OverrideState: 1
|
||||
m_Value: 0.9
|
||||
intensity:
|
||||
m_OverrideState: 1
|
||||
|
||||
@ -24,6 +24,9 @@ namespace XMLTool
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class DictionaryCondition : Condition
|
||||
{
|
||||
public Dictionary<string, string> args = new Dictionary<string, string>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -115,8 +115,8 @@ public class ActionHelper
|
||||
case "TextQuestion":
|
||||
{
|
||||
|
||||
var strAction = (XMLTool.StringListAction)act;
|
||||
return TextQuestionAction.Allocate(strAction.args[0], strAction.args[1], strAction.args[2], strAction.args[3], strAction.args[4], strAction.args[5]);
|
||||
var strAction = (XMLTool.DictionaryAction)act;
|
||||
return TextQuestionAction.Allocate(strAction.args);
|
||||
}
|
||||
case "Hint":
|
||||
{
|
||||
@ -237,7 +237,8 @@ public class ActionHelper
|
||||
case "UIClick":
|
||||
return UIClickCondition.Allocate(condition.Value);
|
||||
case "ObjClick":
|
||||
return ObjClickCondition.Allocate(condition.Value);
|
||||
var dict = (XMLTool.DictionaryCondition)condition;
|
||||
return ObjClickCondition.Allocate(dict.Value, dict.args);
|
||||
case "Input":
|
||||
return InputCondition.Allocate(condition.Value);
|
||||
case "Var":
|
||||
|
||||
@ -20,18 +20,27 @@ public class TextQuestionAction : IAction
|
||||
string btns = string.Empty;
|
||||
string wait = string.Empty;
|
||||
string showAnswer = string.Empty;
|
||||
public static TextQuestionAction Allocate(string title, string options, string answers, string btns, string wait, string showAnswer, System.Action onDelayFinish = null)
|
||||
string rightScore = string.Empty;
|
||||
string errorScore = string.Empty;
|
||||
string scoreName = string.Empty;
|
||||
string absolutely = string.Empty;
|
||||
|
||||
public static TextQuestionAction Allocate(Dictionary<string, string> datas, System.Action onDelayFinish = null)
|
||||
{
|
||||
var retNode = mPool.Allocate();
|
||||
retNode.ActionID = ActionKit.ID_GENERATOR++;
|
||||
retNode.Deinited = false;
|
||||
retNode.Reset();
|
||||
retNode.title = title;
|
||||
retNode.options = options;
|
||||
retNode.btns = btns;
|
||||
retNode.answers = answers;
|
||||
retNode.wait = wait;
|
||||
retNode.showAnswer = showAnswer;
|
||||
retNode.title = datas.ContainsKey("title") ? datas["title"] : string.Empty;
|
||||
retNode.options = datas.ContainsKey("options") ? datas["options"] : string.Empty;
|
||||
retNode.btns = datas.ContainsKey("btns") ? datas["btns"] : string.Empty;
|
||||
retNode.answers = datas.ContainsKey("answers") ? datas["answers"] : string.Empty;
|
||||
retNode.wait = datas.ContainsKey("wait") ? datas["wait"] : string.Empty;
|
||||
retNode.showAnswer = datas.ContainsKey("showAnswer") ? datas["showAnswer"] : string.Empty;
|
||||
retNode.rightScore = datas.ContainsKey("rightScore") ? datas["rightScore"] : string.Empty;
|
||||
retNode.errorScore = datas.ContainsKey("errorScore") ? datas["errorScore"] : string.Empty;
|
||||
retNode.scoreName = datas.ContainsKey("scoreName") ? datas["scoreName"] : string.Empty;
|
||||
retNode.absolutely = datas.ContainsKey("absolutely") ? datas["absolutely"] : string.Empty;
|
||||
return retNode;
|
||||
}
|
||||
|
||||
@ -66,6 +75,13 @@ public class TextQuestionAction : IAction
|
||||
data.btns = btns.Split(',').ToList();
|
||||
float.TryParse(wait, out data.waitCloseTime);
|
||||
bool.TryParse(showAnswer, out data.showAnswer);
|
||||
if (string.IsNullOrEmpty(scoreName)==false)
|
||||
{
|
||||
data.scoreName = scoreName;
|
||||
float.TryParse(rightScore, out data.rightScore);
|
||||
float.TryParse(errorScore, out data.errorScore);
|
||||
bool.TryParse(absolutely, out data.absolutely);
|
||||
}
|
||||
UIKit.OpenPanelAsync<UITextQuestion>(uiData: data, canvasLevel: UILevel.PopUI).ToAction().StartGlobal(() => this.Finish());
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
@ -14,20 +15,29 @@ namespace QFramework
|
||||
private ObjClickCondition() { }
|
||||
public GameObject obj = null;
|
||||
string path;
|
||||
public static ObjClickCondition Allocate(string path)
|
||||
string deviceName;
|
||||
public static ObjClickCondition Allocate(string path, Dictionary<string, string> datas)
|
||||
{
|
||||
var conditionAction = mSimpleObjectPool.Allocate();
|
||||
conditionAction.ActionID = ActionKit.ID_GENERATOR++;
|
||||
conditionAction.Deinited = false;
|
||||
conditionAction.Reset();
|
||||
conditionAction.path = path;
|
||||
conditionAction.deviceName = datas.ContainsKey("deviceName") ? datas["deviceName"] : null;
|
||||
return conditionAction;
|
||||
}
|
||||
public bool Check()
|
||||
{
|
||||
if (obj == null)
|
||||
{
|
||||
obj = Utility.FindObj(path);
|
||||
if (string.IsNullOrEmpty(deviceName))
|
||||
{
|
||||
obj = Utility.FindObj(path);
|
||||
}
|
||||
else
|
||||
{
|
||||
obj = DeviceController.Instance.GetDeviceObj(deviceName);
|
||||
}
|
||||
}
|
||||
if (obj != null && Input.GetMouseButtonUp(0))
|
||||
{
|
||||
@ -79,11 +89,11 @@ namespace QFramework
|
||||
}
|
||||
}
|
||||
|
||||
public static class ObjClickConditionExtension
|
||||
{
|
||||
public static ISequence ObjClickCondition(this ISequence self, string uipath)
|
||||
{
|
||||
return self.Append(QFramework.ObjClickCondition.Allocate(uipath));
|
||||
}
|
||||
}
|
||||
//public static class ObjClickConditionExtension
|
||||
//{
|
||||
// public static ISequence ObjClickCondition(this ISequence self, string uipath)
|
||||
// {
|
||||
// return self.Append(QFramework.ObjClickCondition.Allocate(uipath));
|
||||
// }
|
||||
//}
|
||||
}
|
||||
@ -3,6 +3,9 @@ using UnityEngine.UI;
|
||||
using QFramework;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using System;
|
||||
using Microsoft.SqlServer.Server;
|
||||
using XMLTool;
|
||||
|
||||
namespace QFramework.Example
|
||||
{
|
||||
@ -14,6 +17,14 @@ namespace QFramework.Example
|
||||
public List<string> btns = new List<string>();
|
||||
public float waitCloseTime = -1;
|
||||
public bool showAnswer = false;
|
||||
public float rightScore = 0;
|
||||
public float errorScore = 0;
|
||||
public string scoreName = string.Empty;
|
||||
public string format;
|
||||
/// <summary>
|
||||
/// 绝对的 不计算分项得分 对就得分 错就不得分
|
||||
/// </summary>
|
||||
public bool absolutely = true;
|
||||
}
|
||||
public partial class UITextQuestion : UIPanel
|
||||
{
|
||||
@ -56,6 +67,35 @@ namespace QFramework.Example
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(mData.scoreName) == false)
|
||||
{
|
||||
if (mData.rightScore != 0)
|
||||
{
|
||||
Check(true, count =>
|
||||
{
|
||||
if (count > 0)
|
||||
{
|
||||
float score = mData.rightScore / mData.answers.Count * count;
|
||||
string scoreStr = score.ToString(mData.format);
|
||||
ScoreController.Instance.Add(mData.scoreName, float.Parse(scoreStr));
|
||||
}
|
||||
});
|
||||
}
|
||||
else if(mData.errorScore != 0)
|
||||
{
|
||||
Check(false, count =>
|
||||
{
|
||||
if (count > 0)
|
||||
{
|
||||
float score = mData.errorScore / mData.answers.Count * count;
|
||||
string scoreStr = score.ToString(mData.format);
|
||||
ScoreController.Instance.Add(mData.scoreName, float.Parse(scoreStr));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (mData.waitCloseTime != -1)
|
||||
{
|
||||
|
||||
@ -63,12 +103,50 @@ namespace QFramework.Example
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Hide();
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public void Check(bool isRight, Action<int> callback)
|
||||
{
|
||||
int count = 0;
|
||||
if (isRight)
|
||||
{
|
||||
for (int i = 0; i < OptionContent.transform.childCount; i++)
|
||||
{
|
||||
Toggle toggle = OptionContent.transform.GetChild(i).GetComponent<Toggle>();
|
||||
if (mData.answers.Contains(toggle.name) && toggle.isOn)
|
||||
{
|
||||
count++;
|
||||
}
|
||||
}
|
||||
if (mData.absolutely == true && count != mData.answers.Count)
|
||||
{
|
||||
count = 0;
|
||||
}
|
||||
callback?.Invoke(count);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < OptionContent.transform.childCount; i++)
|
||||
{
|
||||
Toggle toggle = OptionContent.transform.GetChild(i).GetComponent<Toggle>();
|
||||
if (mData.answers.Contains(toggle.name) && toggle.isOn == false)
|
||||
{
|
||||
count++;
|
||||
}
|
||||
}
|
||||
if (mData.absolutely == true && count > 0)
|
||||
{
|
||||
count = mData.answers.Count;
|
||||
}
|
||||
callback?.Invoke(count);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
{
|
||||
}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using Microsoft.SqlServer.Server;
|
||||
using QFramework;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@ -463,13 +464,63 @@ namespace XMLTool
|
||||
break;
|
||||
case "TextQuestion":
|
||||
{
|
||||
var act = new StringListAction();
|
||||
act.args.Add(action.Attribute("title").Value);
|
||||
act.args.Add(action.Attribute("options").Value);
|
||||
act.args.Add(action.Attribute("answers").Value);
|
||||
act.args.Add(action.Attribute("btns").Value);
|
||||
act.args.Add(action.Attribute("wait").Value);
|
||||
act.args.Add(action.Attribute("showAnswer").Value);
|
||||
var act = new DictionaryAction();
|
||||
XAttribute title = action.Attribute("title");
|
||||
if (title != null)
|
||||
{
|
||||
act.args.Add("title", title.Value);
|
||||
}
|
||||
XAttribute options = action.Attribute("options");
|
||||
if (options != null)
|
||||
{
|
||||
act.args.Add("options", options.Value);
|
||||
}
|
||||
XAttribute answers = action.Attribute("answers");
|
||||
if (answers != null)
|
||||
{
|
||||
act.args.Add("answers", answers.Value);
|
||||
}
|
||||
XAttribute btns = action.Attribute("btns");
|
||||
if (btns != null)
|
||||
{
|
||||
act.args.Add("btns", btns.Value);
|
||||
}
|
||||
XAttribute wait = action.Attribute("wait");
|
||||
if (wait != null)
|
||||
{
|
||||
act.args.Add("wait", wait.Value);
|
||||
}
|
||||
XAttribute showAnswer = action.Attribute("showAnswer");
|
||||
if (showAnswer != null)
|
||||
{
|
||||
act.args.Add("showAnswer", showAnswer.Value);
|
||||
}
|
||||
XAttribute rightScore = action.Attribute("rightScore");
|
||||
if (rightScore != null)
|
||||
{
|
||||
act.args.Add("rightScore", rightScore.Value);
|
||||
}
|
||||
XAttribute errorScore = action.Attribute("wrongScore");
|
||||
if (errorScore != null)
|
||||
{
|
||||
act.args.Add("errorScore", errorScore.Value);
|
||||
}
|
||||
XAttribute scoreName = action.Attribute("scoreName");
|
||||
if (scoreName != null)
|
||||
{
|
||||
act.args.Add("scoreName", scoreName.Value);
|
||||
}
|
||||
XAttribute absolutely = action.Attribute("absolutely");
|
||||
if (absolutely != null)
|
||||
{
|
||||
act.args.Add("absolutely", absolutely.Value);
|
||||
}
|
||||
|
||||
XAttribute format = action.Attribute("format");
|
||||
if (format != null)
|
||||
{
|
||||
act.args.Add("format", format.Value);
|
||||
}
|
||||
newAction = act;
|
||||
}
|
||||
break;
|
||||
@ -595,7 +646,7 @@ namespace XMLTool
|
||||
}
|
||||
else
|
||||
{
|
||||
act.args.Add("nearTime","0");
|
||||
act.args.Add("nearTime", "0");
|
||||
}
|
||||
|
||||
XAttribute normalTime = action.Attribute("normalTime");
|
||||
@ -605,7 +656,7 @@ namespace XMLTool
|
||||
}
|
||||
else
|
||||
{
|
||||
act.args.Add("normalTime","0");
|
||||
act.args.Add("normalTime", "0");
|
||||
}
|
||||
XAttribute isNear = action.Attribute("isNear");
|
||||
if (isNear != null)
|
||||
@ -989,13 +1040,29 @@ namespace XMLTool
|
||||
|
||||
public static Condition ParseCondition(XElement action)
|
||||
{
|
||||
Condition newAction = new Condition
|
||||
Condition newAction = null;
|
||||
string type = action.Attribute("type")?.Value;
|
||||
switch (type)
|
||||
{
|
||||
Type = action.Attribute("type")?.Value,
|
||||
Name = action.Attribute("name")?.Value,
|
||||
Value = action.Attribute("value")?.Value,
|
||||
SubActions = ParseActions(action)
|
||||
};
|
||||
case "ObjClick":
|
||||
var act = new DictionaryCondition();
|
||||
|
||||
XAttribute deviceName = action.Attribute("deviceName");
|
||||
if (deviceName != null)
|
||||
{
|
||||
act.args.Add("deviceName", deviceName.Value);
|
||||
}
|
||||
newAction = act;
|
||||
break;
|
||||
default:
|
||||
newAction = new Condition();
|
||||
break;
|
||||
}
|
||||
newAction.Type = type;
|
||||
newAction.Name = action.Attribute("name")?.Value;
|
||||
newAction.Value = action.Attribute("value")?.Value;
|
||||
newAction.SubActions = ParseActions(action);
|
||||
|
||||
return newAction;
|
||||
|
||||
}
|
||||
|
||||
@ -4,11 +4,10 @@
|
||||
<!--打耳牌虚拟实训-->
|
||||
<Module>
|
||||
|
||||
<FSM name="状态机1">
|
||||
<FSM name="pig2">
|
||||
<State name="初始状态">
|
||||
<Enter>
|
||||
<Action type="Parallel">
|
||||
<!--房间墙壁 暂时隐藏-->
|
||||
<Action type="Sequence">
|
||||
<Action type="UIShow" value="UIOperationList"></Action>
|
||||
<Action type="NextOperation"></Action>
|
||||
@ -16,9 +15,7 @@
|
||||
</Action>
|
||||
</Enter>
|
||||
</State>
|
||||
<Transision from="初始状态" to="状态2">
|
||||
<Condition type="ObjClick" value="Cube (1)"></Condition>
|
||||
</Transision>
|
||||
|
||||
</FSM>
|
||||
|
||||
<Score>
|
||||
|
||||
@ -24,241 +24,37 @@
|
||||
<Item step="内容介绍" name="假死猪的特征" sum="0" bind=""/>
|
||||
|
||||
</Score>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>剪牙钳</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JianYaQian</Path>
|
||||
<Tip>剪牙钳</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/剪牙钳.png</Icon>
|
||||
</Device>
|
||||
<Device>
|
||||
<Name>剪牙钳2</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JianYaQian2</Path>
|
||||
<Tip>剪牙钳</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/剪牙钳.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>电热断尾钳</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianReDuanWeiQian</Path>
|
||||
<Tip>电热断尾钳</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/电热断尾钳.png</Icon>
|
||||
</Device>
|
||||
<Device>
|
||||
<Name>连续注射器</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LianXuZhuSheQi</Path>
|
||||
<Tip>连续注射器</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/连续注射器.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>过硫酸氢钾消毒液</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LiuSuanQingJia</Path>
|
||||
<Tip>过硫酸氢钾消毒液</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/过硫酸氢钾消毒液.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>耳牌</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ErPaiZuHe1/SM_ErPaiZuHe/SM_ErPai</Path>
|
||||
<Tip>耳牌</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/耳牌.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>耳牌钳</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ErPaiZuHe1/SM_ErPaiZuHe/SM_ErPaiQian</Path>
|
||||
<Tip>耳牌钳</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/耳牌钳.png</Icon>
|
||||
</Device>
|
||||
<Device>
|
||||
<Name>碘酊</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianDing</Path>
|
||||
<Tip>碘酊</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/碘酊.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>碘伏</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianFu</Path>
|
||||
<Tip>碘伏</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/碘伏.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>酒精托盘</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JiuJing</Path>
|
||||
<Tip>酒精</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/酒精托盘.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>量杯</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LiangBei</Path>
|
||||
<Tip>量杯</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/量杯.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>棉花</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_MianHua</Path>
|
||||
<Tip>棉花</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/棉花.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>喷壶</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu</Path>
|
||||
<Tip>喷壶</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/骨刀.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>喷壶2</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu6</Path>
|
||||
<Tip>喷壶2</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/喷壶.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>喷壶(碘酊)</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu_DianDing</Path>
|
||||
<Tip>喷壶(碘酊)</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/喷壶.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>手术钳1</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuQian</Path>
|
||||
<Tip>手术钳</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/手术钳.png</Icon>
|
||||
</Device
|
||||
>
|
||||
<Device>
|
||||
<Name>手术钳4</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuQian4</Path>
|
||||
<Tip>手术钳</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/手术钳.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>手术托盘</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan</Path>
|
||||
<Tip>手术托盘</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/手术托盘.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>手术托盘2号</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan1</Path>
|
||||
<Tip>手术托盘</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/手术托盘.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>铁血龙</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_TieJi</Path>
|
||||
<Tip>铁血龙</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/铁血龙.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>外科手术刀</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_WaiKeShouShuDao</Path>
|
||||
<Tip>外科手术刀</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/手术刀.png</Icon>
|
||||
</Device>
|
||||
<Device>
|
||||
<Name>剪牙钳</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_JianYaQian1/SM_JianYaQian</Path>
|
||||
<Tip>剪牙钳</Tip>
|
||||
<Icon>工具/剪牙钳.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>消毒液酒精托盘</Name>
|
||||
<Name>大号镂空筐</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_XiaoDuYe</Path>
|
||||
<Tip>消毒液酒精托盘</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/消毒液酒精托盘.png</Icon>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LouKongKuang</Path>
|
||||
<Tip>大号镂空筐</Tip>
|
||||
<Icon>工具/大号镂空筐.png</Icon>
|
||||
</Device>
|
||||
<Device>
|
||||
<Name>电热断尾钳</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi</Path>
|
||||
<Tip>电热断尾钳</Tip>
|
||||
<Icon>工具/电热断尾钳.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
@ -266,120 +62,26 @@
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiCiXingRuJiaoShouTao</Path>
|
||||
<Tip>一次性乳胶手套</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/一次性乳胶手套.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>75%乙醇消毒酒精</Name>
|
||||
<Name>碘酊</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiYongJiuJing</Path>
|
||||
<Tip>75%乙醇消毒酒精</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/75%乙醇消毒酒精.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>针头1</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou/SM_ZhenTou1</Path>
|
||||
<Tip>针头1</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/针头1.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>针头2</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou/SM_ZhenTou2</Path>
|
||||
<Tip>针头2</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/针头2.png</Icon>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianDing</Path>
|
||||
<Tip>碘酊</Tip>
|
||||
<Icon>工具/碘酊.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>针头3</Name>
|
||||
<Name>喷壶</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou/SM_ZhenTou3</Path>
|
||||
<Tip>针头3</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/针头3.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>针头4</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou/SM_ZhenTou4</Path>
|
||||
<Tip>针头4</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/针头4.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>针头5</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou/SM_ZhenTou5</Path>
|
||||
<Tip>针头5</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/针头5.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>针头6</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou/SM_ZhenTou6</Path>
|
||||
<Tip>针头6</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/针头6.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>接产纸</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JieChanZhi/SM_JieChanZhi2</Path>
|
||||
<Tip>接产纸</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
|
||||
<Icon>工具/接产纸.png</Icon>
|
||||
</Device>
|
||||
|
||||
|
||||
<Device>
|
||||
<Name>针头7</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou/SM_ZhenTou7</Path>
|
||||
<Tip>针头7</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/针头7.png</Icon>
|
||||
<Path>ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_PenHu_DianDing/SM_PenHu_DianDing1</Path>
|
||||
<Tip>喷壶</Tip>
|
||||
<Icon>工具/喷壶.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
@ -387,11 +89,42 @@
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ToolsChose/SM_gongju/SM_ShouNaDai</Path>
|
||||
<Tip>收纳袋</Tip>
|
||||
<!--<BoxCollider size="0.15,0.05,0.06" center="-0.03,0,0"/>-->
|
||||
<!--MeshCollider和Box只需要一个-->
|
||||
<Icon>工具/收纳袋.png</Icon>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>仔猪</Name>
|
||||
<HighLight color="255,255,255"/>
|
||||
<Path>ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu/group4/SM_XiaoZhu_qiege2:geo/SM_XiaoZhu_qiege2:SM_XiaoZhu_ShenTi</Path>
|
||||
<Tip>仔猪</Tip>
|
||||
</Device>
|
||||
|
||||
|
||||
|
||||
<!--相机点位注册-->
|
||||
<Device>
|
||||
<Name>默认相机点位</Name>
|
||||
<Path>ExamPrefab/CameraPos/Camera_Normal</Path>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>工具选择相机点位</Name>
|
||||
<Path>ExamPrefab/CameraPos/Camera_ToolsChose</Path>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>人员准备相机点位</Name>
|
||||
<Path>ExamPrefab/CameraPos/Camera_PersonChose</Path>
|
||||
</Device>
|
||||
|
||||
<Device>
|
||||
<Name>实际操作相机点位</Name>
|
||||
<Path>ExamPrefab/CameraPos/Camera_ModelChose</Path>
|
||||
</Device>
|
||||
<Device>
|
||||
<Name>术口选择相机点位</Name>
|
||||
<Path>ExamPrefab/CameraPos/Camera_ShuKouChose</Path>
|
||||
</Device>
|
||||
|
||||
|
||||
|
||||
@ -405,10 +138,122 @@
|
||||
<Step name="内容介绍">
|
||||
<!--二级步骤-->
|
||||
<Step name="学习的意义">
|
||||
|
||||
<Reset>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose" isShow="true"></Action>
|
||||
<!--模块显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/juese" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isShow="false"></Action>
|
||||
|
||||
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an2" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an5_6" isShow="false"></Action>
|
||||
<!--动画的工具显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_PenHu_DianDing" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi" isShow="true"></Action>
|
||||
<!--动画的工具隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_JianYaQian1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_LiuSuanQingJia" isShow="false"></Action>
|
||||
<!--工具的物体显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_ShouNaDai" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LouKongKuang" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianDing" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiCiXingRuJiaoShouTao" isShow="true"></Action>
|
||||
|
||||
<!--工具的物体隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LiangBei" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_yiyongzhufeiji" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/chizhenqian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/zhizhixueqian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianFu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianReDuanWeiQian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ErPaiZuHe1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JianYaQian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JieChanZhi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JiuJing" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LianXuZhuSheQi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LiuSuanQingJia" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_MianHua" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu6" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu_DianDing" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_TieJi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_WaiKeShouShuDao" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_XiaoDuYe" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiYongJiuJing" isShow="false"></Action>
|
||||
<!--尾巴隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu_WeiBa_duan" isShow="false"></Action>
|
||||
|
||||
|
||||
|
||||
</Reset>
|
||||
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="CameraSwitch" nearPos="4.89,1.73,0" nearRot="0,90,0" nearTime="1" normalPos="4.89,1.73,0" normalRot="0,90,0" farTime="0" isNear="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="false"></Action>
|
||||
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose" isShow="true"></Action>
|
||||
<!--模块显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/juese" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isShow="false"></Action>
|
||||
|
||||
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an2" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an5_6" isShow="false"></Action>
|
||||
<!--动画的工具显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_PenHu_DianDing" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi" isShow="true"></Action>
|
||||
<!--动画的工具隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_JianYaQian1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_LiuSuanQingJia" isShow="false"></Action>
|
||||
<!--工具的物体显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_ShouNaDai" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LouKongKuang" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianDing" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiCiXingRuJiaoShouTao" isShow="true"></Action>
|
||||
|
||||
<!--工具的物体隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LiangBei" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_yiyongzhufeiji" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/chizhenqian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/zhizhixueqian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianFu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianReDuanWeiQian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ErPaiZuHe1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JianYaQian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JieChanZhi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JiuJing" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LianXuZhuSheQi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LiuSuanQingJia" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_MianHua" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu6" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu_DianDing" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_TieJi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_WaiKeShouShuDao" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_XiaoDuYe" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiYongJiuJing" isShow="false"></Action>
|
||||
<!--尾巴隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu_WeiBa_duan" isShow="false"></Action>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Action type="CameraSwitch" nearDevice="默认相机点位" normalDevice="默认相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
<Action type="TextTip" value="通过学习断尾操作,掌握初生仔猪保健方式,减少疾病的传播与育肥阶段猪只打架攀咬造成的死亡损失" audio="Zhu/Z022.mp3" btns="确定"/>
|
||||
<Condition type="UIClick" value="UIRoot/PopUI/UITextTip/Mask/Connt/BtnContent/确定"></Condition>
|
||||
<Action type="NextOperation"></Action>
|
||||
@ -420,7 +265,8 @@
|
||||
<Step name="断尾对象">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="TextTip" value="产房初生3~5日龄的健康仔猪,整窝无腹泻,个体体重1.2kg以上。" audio="Zhu/Z017.mp3" btns="确定"/>
|
||||
<Action type="CameraSwitch" nearDevice="默认相机点位" normalDevice="默认相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
<Action type="TextTip" value="产房初生3~5日龄的健康仔猪,整窝无腹泻,个体体重1.2kg以上。" audio="Zhu/Z023.mp3" btns="确定"/>
|
||||
<Condition type="UIClick" value="UIRoot/PopUI/UITextTip/Mask/Connt/BtnContent/确定"></Condition>
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
@ -437,14 +283,62 @@
|
||||
<Step name="物品准备">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose" isShow="true"></Action>
|
||||
<!--模块显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/juese" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isShow="false"></Action>
|
||||
|
||||
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an2" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an5_6" isShow="false"></Action>
|
||||
<!--动画的工具显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_PenHu_DianDing" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi" isShow="true"></Action>
|
||||
<!--动画的工具隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_JianYaQian1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_LiuSuanQingJia" isShow="false"></Action>
|
||||
<!--工具的物体显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_ShouNaDai" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LouKongKuang" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianDing" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiCiXingRuJiaoShouTao" isShow="true"></Action>
|
||||
|
||||
<!--工具的物体隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_LiangBei" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_yiyongzhufeiji" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/chizhenqian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/zhizhixueqian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianFu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_DianReDuanWeiQian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ErPaiZuHe1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JianYaQian" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JieChanZhi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_JiuJing" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LianXuZhuSheQi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_LiuSuanQingJia" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_MianHua" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu6" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_PenHu_DianDing" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ShouShuTuoPan1" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_TieJi" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_WaiKeShouShuDao" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_XiaoDuYe" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_ZhenTou" isShow="false"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiYongJiuJing" isShow="false"></Action>
|
||||
<!--尾巴隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu_WeiBa_duan" isShow="false"></Action>
|
||||
|
||||
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju" isShow="true"></Action>
|
||||
<Action type="CameraSwitch" nearPos="4.361163,1.881783,-0.3311594" nearRot="27.598,-0.109,0" nearTime="1" normalPos="4.361163,1.881783,-0.3311594" normalRot="27.598,-0.109,0" farTime="0" isNear="false"></Action>
|
||||
|
||||
|
||||
<Action type="CameraSwitch" nearDevice="工具选择相机点位" normalDevice="工具选择相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
<Action type="Btns" value="下一步"/>
|
||||
<Condition type="UIClick" value="UIRoot/RightBottom/UIBtns/BtnContent/下一步"/>
|
||||
<Action type="NextOperation"></Action>
|
||||
@ -457,8 +351,8 @@
|
||||
<!--点击帽子-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="false"></Action>
|
||||
<Action type="CameraSwitch" nearPos="1.2,6.37,-27.03" nearRot="42.808,0,0" nearTime="1" normalPos="1.2,6.37,-27.03" normalRot="42.808,0,0" farTime="0" isNear="false"></Action>
|
||||
<Action type="CameraSwitch" nearDevice="人员准备相机点位" normalDevice="人员准备相机点位" nearTime="0" normalTime="0" isNear="false"></Action>
|
||||
|
||||
<Action type="Btns" value="下一步"></Action>
|
||||
<Condition type="UIClick" value="UIRoot/RightBottom/UIBtns/BtnContent/下一步"/>
|
||||
|
||||
@ -470,8 +364,7 @@
|
||||
<!--点击口罩-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="false"></Action>
|
||||
<Action type="CameraSwitch" nearPos="1.2,6.37,-27.03" nearRot="42.808,0,0" nearTime="1" normalPos="1.2,6.37,-27.03" normalRot="42.808,0,0" farTime="0" isNear="false"></Action>
|
||||
<Action type="CameraSwitch" nearDevice="人员准备相机点位" normalDevice="人员准备相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
<Action type="Btns" value="下一步"> </Action>
|
||||
<Condition type="UIClick" value="UIRoot/RightBottom/UIBtns/BtnContent/下一步"></Condition>
|
||||
|
||||
@ -483,8 +376,8 @@
|
||||
<!--点击工作服-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="false"></Action>
|
||||
<Action type="CameraSwitch" nearPos="1.2,6.37,-27.03" nearRot="42.808,0,0" nearTime="1" normalPos="1.2,6.37,-27.03" normalRot="42.808,0,0" farTime="0" isNear="false"></Action>
|
||||
|
||||
<Action type="CameraSwitch" nearDevice="人员准备相机点位" normalDevice="人员准备相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
<Action type="Btns" value="下一步"> </Action>
|
||||
<Condition type="UIClick" value="UIRoot/RightBottom/UIBtns/BtnContent/下一步">
|
||||
</Condition>
|
||||
@ -500,17 +393,17 @@
|
||||
<!--电热断尾钳预热-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="CameraSwitch" nearPos="2.894144,1.835608,-0.6305628" nearRot="17.19186,90,-8.937039E-07" nearTime="1" normalPos="2.894144,1.835608,-0.6305628" normalRot="17.19186,90,-8.937039E-07" farTime="0" isNear="false"></Action>
|
||||
|
||||
|
||||
|
||||
<Action type="CameraSwitch" nearDevice="实际操作相机点位" normalDevice="实际操作相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
<Action type="Hint" value="断尾钳预热" time="-1" icon="false" audio="Zhu/Z024.mp3"></Action>
|
||||
<!--显示物体组-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose" isShow="true"></Action>
|
||||
<!--模块3-4显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4" isShow="true"></Action>
|
||||
<!--模块1-2隐藏-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an2" isShow="false"></Action>
|
||||
<!--工具显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose" isShow="true"></Action>
|
||||
<Action type="Show" value="ExamPrefab/Teach_ToolsChose/SM_gongju" isShow="true"></Action>
|
||||
<!--模块,人物,显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/juese" isShow="true"></Action>
|
||||
|
||||
|
||||
<!--小猪显示-->
|
||||
@ -520,7 +413,7 @@
|
||||
|
||||
<!--判断物体点击,电热断尾钳-->
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi" isHigh="true" color="0,255,0,255"></Action>
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi/joimt_DuanWeiQian/group6/joimt_DuanWeiQian/joimt_DuanWeiQian1"></Condition>
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi"></Condition>
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi" isHigh="false" color="0,255,0,255"></Action>
|
||||
|
||||
<Action type="NextOperation"></Action>
|
||||
@ -532,12 +425,14 @@
|
||||
<!--点击仔猪,拿起仔猪-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="CameraSwitch" nearDevice="实际操作相机点位" normalDevice="实际操作相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
|
||||
<Action type="Hint" value="术者左手小指,无名指,中指倒提仔猪左后腿,大拇指,食指固定仔猪尾巴" time="-1" icon="false" audio="Zhu/Z025.mp3"></Action>
|
||||
|
||||
<!--判断物体,点击小猪,-->
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isHigh="true" color="0,255,0,255"></Action>
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu/group4/SM_XiaoZhu_qiege2:joint1/Zhu3"></Condition>
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu" isHigh="false" color="0,255,0,255"></Action>
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu/group4/SM_XiaoZhu_qiege2:geo/SM_XiaoZhu_qiege2:SM_XiaoZhu_ShenTi" isHigh="true" color="0,255,0,255"></Action>
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu/group4/SM_XiaoZhu_qiege2:geo/SM_XiaoZhu_qiege2:SM_XiaoZhu_ShenTi"></Condition>
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu/group4/SM_XiaoZhu_qiege2:geo/SM_XiaoZhu_qiege2:SM_XiaoZhu_ShenTi" isHigh="false" color="0,255,0,255"></Action>
|
||||
<!--播放动画-->
|
||||
<Action type="Anim" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4" animName="DW0"></Action>
|
||||
|
||||
@ -550,11 +445,14 @@
|
||||
<!--点击断尾钳,准备断尾-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
|
||||
<Action type="CameraSwitch" nearDevice="实际操作相机点位" normalDevice="实际操作相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
|
||||
<Action type="Hint" value="右手使用已经充分预热的断尾钳在距离仔猪尾根部2厘米左右处垂直稍用力按压,尾巴可被瞬间切断" time="-1" icon="false" audio="Zhu/Z026.mp3"></Action>
|
||||
|
||||
<!--判断物体点击,电热断尾钳-->
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi" isHigh="true" color="0,255,0,255"></Action>
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi/joimt_DuanWeiQian/group6/joimt_DuanWeiQian/joimt_DuanWeiQian1"></Condition>
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi"></Condition>
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoTuiChe/SM_XiaoWuJian/SM_DianReDuanWeiQian_FuZhi" isHigh="false" color="0,255,0,255"></Action>
|
||||
|
||||
|
||||
@ -591,9 +489,14 @@
|
||||
<!--剪断的尾巴置于收纳袋-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="CameraSwitch" nearDevice="实际操作相机点位" normalDevice="实际操作相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
|
||||
<Action type="Hint" value="剪断的尾巴置于收纳袋" time="-1" icon="false" audio="Zhu/Z027.mp3"></Action>
|
||||
|
||||
|
||||
<!--尾巴显示-->
|
||||
<Action type="Show" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu_WeiBa_duan/group7/SM_XiaoZhu_WeiBa1" isShow="true"></Action>
|
||||
|
||||
<!--判断物体,点击,剪掉的小猪尾巴-->
|
||||
<Action type="HighLight" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu_WeiBa_duan/group7/SM_XiaoZhu_WeiBa1" isHigh="true" color="0,255,0,255"></Action>
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ModelChose/SM_zhu_an3_4/SM_XiaoZhu_WeiBa_duan/group7/SM_XiaoZhu_WeiBa1"></Condition>
|
||||
@ -613,6 +516,8 @@
|
||||
<!--消毒-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="CameraSwitch" nearDevice="实际操作相机点位" normalDevice="实际操作相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
|
||||
<Action type="Hint" value="断尾伤口处使用3%~5%的碘酊进行消毒" time="-1" icon="false" audio="Zhu/Z028.mp3"></Action>
|
||||
|
||||
<!--碘酊消毒-->
|
||||
@ -637,6 +542,9 @@
|
||||
<!--断尾钳-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
|
||||
<Action type="CameraSwitch" nearDevice="实际操作相机点位" normalDevice="实际操作相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
|
||||
<Action type="Hint" value="若伤口出现流血情况时,术者左手固定仔猪后驱及尾部,右手使用断尾钳高温接触流血处,稍用力按压3秒左右,进行物理封闭伤口(操作过程注意防烫伤)" time="-1" icon="false" audio="Zhu/Z029.mp3"></Action>
|
||||
|
||||
|
||||
@ -685,6 +593,8 @@
|
||||
<!--断尾钳-->
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="CameraSwitch" nearDevice="实际操作相机点位" normalDevice="实际操作相机点位" nearTime="1" normalTime="1" isNear="false"></Action>
|
||||
|
||||
<Action type="Hint" value="将仔猪放回栏中" time="-1" icon="false"></Action>
|
||||
|
||||
|
||||
@ -970,7 +880,7 @@
|
||||
|
||||
<!--错误的-->
|
||||
<Action type="Sequence">
|
||||
|
||||
|
||||
<!--点击干扰项物体-->
|
||||
<Condition type="Or">
|
||||
<Condition type="ObjClick" value="ExamPrefab/Teach_ToolsChose/SM_gongju/SM_XiaoWuJian/SM_YiCiXingRuJiaoShouTao"></Condition>
|
||||
|
||||
@ -31,8 +31,14 @@
|
||||
|
||||
<!--物体点位选择 物体的中心点-->
|
||||
<Action type="PointQuestion" value="路径1,路径2"></Action>
|
||||
<!--文字选择题-->
|
||||
<Action type="TextQuestion" title="这里是标题" options="A.111|B.222|C.333|D.4444" answers="2" btns="确定" wait="1" showAnswer="true"></Action>
|
||||
<!--文字选择题 scoreName="分数名"
|
||||
rightScore="5" 可以是正确加分
|
||||
wrongScore="-5" 也可以是错误减分
|
||||
absolutely="false" true错一个选项就扣全部分 false按错的选项数量来算分
|
||||
format="{0:F1}" F1代表保留1位小数 F2代表2位 F0代表不保留小数
|
||||
注意:rightScore与wrongScore不能同时存在 同时存在则只生效rightScore
|
||||
-->
|
||||
<Action type="TextQuestion" title="这里是标题" options="A.111|B.222|C.333|D.4444" answers="2" btns="确定" wait="1" showAnswer="true" scoreName="分数名" rightScore="5" wrongScore="-5" absolutely="false" format="{0:F1}"></Action>
|
||||
<!--提示 time为显示的时间 -1则一直显示 icon是前面的绿色图标是否显示 audio是音频 位于data文件夹下的Audio-->
|
||||
<Action type="Hint" value="这里是文字描述" time="5" icon="false" audio="音频.mp3"></Action>
|
||||
<!--设置变量 value只能是数字可以是小数-->
|
||||
@ -65,8 +71,8 @@
|
||||
<Action type="Audio" audioType="Voice" value="q001.mp3" loop="false" waitFinished="true" volumen="1" isPlay="true"></Action>
|
||||
<!--判断UI点击-->
|
||||
<Condition type="UIClick" value="UI路径 可以使用快捷键Ctrl+Q获取"></Condition>
|
||||
<!--判断物体点击-->
|
||||
<Condition type="ObjClick" value="物体路径 可以使用快捷键Ctrl+Q获取"></Condition>
|
||||
<!--判断物体点击 deviceName支持设备点击判断 有deviceName的情况下忽略value-->
|
||||
<Condition type="ObjClick" deviceName="" value="物体路径 可以使用快捷键Ctrl+Q获取" ></Condition>
|
||||
<!--判断键盘输入-->
|
||||
<Condition type="Input" value="A"></Condition>
|
||||
<!--判断变量名i是否等于1-->
|
||||
@ -90,12 +96,12 @@
|
||||
<Action type="Script" value="MyAction" finishedEvent="111"/>
|
||||
|
||||
<!--
|
||||
给物体设置Collider path是物体路径 DeviceName是Device名字 与path二选一 colliderType:AddBox AddMesh Remove Active
|
||||
给物体设置Collider value是物体路径 DeviceName是Device名字 与path二选一 colliderType:AddBox AddMesh Remove Active
|
||||
当colliderType为AddBox的时候 args用|分割后 第一个参数是 中心点 第二个参数是box碰撞的大小
|
||||
当colliderType为Active的时候 args为false或者是true
|
||||
当colliderType为AddMesh和Remove的时候 args不需要
|
||||
-->
|
||||
<Action type="Collider" path="路径和DeviceName二选一" deviceName="肠钳" colliderType="AddBox" args="0,0,0|1,1,1"></Action>
|
||||
<Action type="Collider" value="路径和DeviceName二选一" deviceName="肠钳" colliderType="AddBox" args="0,0,0|1,1,1"></Action>
|
||||
|
||||
<!--
|
||||
动画 value是文字描述 支持富文本 要按照xml的语法 把<>括号转义 <代表< >代表>
|
||||
@ -104,6 +110,7 @@
|
||||
finishedEvent 是倒计时结束后的回调
|
||||
needClick如果为true 动画结束后不会自动小时 需要点击空白处
|
||||
reverse 是时钟倒计时动画是否倒序播放
|
||||
format="{0:F1}" F1代表保留1位小数 F2代表2位 F0代表不保留小数
|
||||
-->
|
||||
<Action type="TimeTip" value="这里是文字描述<color=#FF00FF>{0}</color>-{1}" time="5" values="5,10|50,100" format="{0:F1}" finishedEvent="close" needClick="false" reverse="false" ></Action>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user