Merge branch 'AnHui_BaoShi' of http://git.dragonwxl.cn:8080/loudizhiye/virtualframework into AnHui_BaoShi
This commit is contained in:
commit
54d8a9fe88
113
Assets/Anm/XianWeiJing_BottomLight.anim
Normal file
113
Assets/Anm/XianWeiJing_BottomLight.anim
Normal file
@ -0,0 +1,113 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!74 &7400000
|
||||
AnimationClip:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: XianWeiJing_BottomLight
|
||||
serializedVersion: 7
|
||||
m_Legacy: 1
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
m_RotationCurves: []
|
||||
m_CompressedRotationCurves: []
|
||||
m_EulerCurves: []
|
||||
m_PositionCurves: []
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_Intensity
|
||||
path:
|
||||
classID: 108
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
m_PPtrCurves: []
|
||||
m_SampleRate: 60
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings: []
|
||||
pptrCurveMapping: []
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 1
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
m_HasAdditiveReferencePose: 0
|
||||
m_LoopTime: 0
|
||||
m_LoopBlend: 0
|
||||
m_LoopBlendOrientation: 0
|
||||
m_LoopBlendPositionY: 0
|
||||
m_LoopBlendPositionXZ: 0
|
||||
m_KeepOriginalOrientation: 0
|
||||
m_KeepOriginalPositionY: 1
|
||||
m_KeepOriginalPositionXZ: 0
|
||||
m_HeightFromFeet: 0
|
||||
m_Mirror: 0
|
||||
m_EditorCurves:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_Intensity
|
||||
path:
|
||||
classID: 108
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
m_EulerEditorCurves: []
|
||||
m_HasGenericRootTransform: 0
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events: []
|
||||
8
Assets/Anm/XianWeiJing_BottomLight.anim.meta
Normal file
8
Assets/Anm/XianWeiJing_BottomLight.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 32e01df5e71b43545a392d62acbbb64e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
6289
Assets/Anm/XianWeiJing_SM_JiaZi.anim
Normal file
6289
Assets/Anm/XianWeiJing_SM_JiaZi.anim
Normal file
File diff suppressed because it is too large
Load Diff
8
Assets/Anm/XianWeiJing_SM_JiaZi.anim.meta
Normal file
8
Assets/Anm/XianWeiJing_SM_JiaZi.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df94c5864a0794c4bb8282ffc541789e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
113
Assets/Anm/XianWeiJing_TopLight.anim
Normal file
113
Assets/Anm/XianWeiJing_TopLight.anim
Normal file
@ -0,0 +1,113 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!74 &7400000
|
||||
AnimationClip:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: XianWeiJing_TopLight
|
||||
serializedVersion: 7
|
||||
m_Legacy: 1
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
m_RotationCurves: []
|
||||
m_CompressedRotationCurves: []
|
||||
m_EulerCurves: []
|
||||
m_PositionCurves: []
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_Intensity
|
||||
path:
|
||||
classID: 108
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
m_PPtrCurves: []
|
||||
m_SampleRate: 60
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings: []
|
||||
pptrCurveMapping: []
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 1
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
m_HasAdditiveReferencePose: 0
|
||||
m_LoopTime: 0
|
||||
m_LoopBlend: 0
|
||||
m_LoopBlendOrientation: 0
|
||||
m_LoopBlendPositionY: 0
|
||||
m_LoopBlendPositionXZ: 0
|
||||
m_KeepOriginalOrientation: 0
|
||||
m_KeepOriginalPositionY: 1
|
||||
m_KeepOriginalPositionXZ: 0
|
||||
m_HeightFromFeet: 0
|
||||
m_Mirror: 0
|
||||
m_EditorCurves:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 2
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 136
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
attribute: m_Intensity
|
||||
path:
|
||||
classID: 108
|
||||
script: {fileID: 0}
|
||||
flags: 0
|
||||
m_EulerEditorCurves: []
|
||||
m_HasGenericRootTransform: 0
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events: []
|
||||
8
Assets/Anm/XianWeiJing_TopLight.anim.meta
Normal file
8
Assets/Anm/XianWeiJing_TopLight.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a10bf0947f4bdc44184baf89602b79d8
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,135 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-9177181942532372285
|
||||
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: Mat3d66-482104-6-16
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 6
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 2800000, guid: ab45b28dbc3914149922914f85faf4ec, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: ab45b28dbc3914149922914f85faf4ec, 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: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.14142135
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.14142135
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _UVSec: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.9622642, g: 0.9622642, b: 0.9622642, a: 1}
|
||||
- _Color: {r: 0.9622642, g: 0.9622642, b: 0.9622642, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e4a6f56d488c774f8f10103f43643db
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Art/Models/AnHui/SM_XianWeiJing/SM_XianWeiJing_KG.FBX
Normal file
BIN
Assets/Art/Models/AnHui/SM_XianWeiJing/SM_XianWeiJing_KG.FBX
Normal file
Binary file not shown.
@ -0,0 +1,114 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 92133cf350a8cd641bcc609d15e85f35
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects:
|
||||
- first:
|
||||
type: UnityEngine:Material
|
||||
assembly: UnityEngine.CoreModule
|
||||
name: Mat3d66-482104-6-16
|
||||
second: {fileID: 2100000, guid: 1e4a6f56d488c774f8f10103f43643db, type: 2}
|
||||
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:
|
||||
1616
Assets/Art/UIPrefab/UIInput.prefab
Normal file
1616
Assets/Art/UIPrefab/UIInput.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Art/UIPrefab/UIInput.prefab.meta
Normal file
7
Assets/Art/UIPrefab/UIInput.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7857b06d3ccdcfc458b91dbc61f33966
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName: uiinput_prefab
|
||||
assetBundleVariant:
|
||||
@ -465,8 +465,8 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 131.91986, y: 0}
|
||||
m_SizeDelta: {x: 263.8398, y: -752.1277}
|
||||
m_AnchoredPosition: {x: 216.55383, y: 0}
|
||||
m_SizeDelta: {x: 433.1077, y: -752.1277}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &9008854919363526693
|
||||
CanvasRenderer:
|
||||
@ -725,7 +725,7 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
@ -1274,7 +1274,7 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
|
||||
@ -49,7 +49,7 @@ TextureImporter:
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteBorder: {x: 25, y: 10, z: 25, w: 10}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
@ -126,7 +126,7 @@ TextureImporter:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
|
||||
8
Assets/Art/UITextures/UIInput.meta
Normal file
8
Assets/Art/UITextures/UIInput.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8b1540b1d132294438abff1814a42a1d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Art/UITextures/显微镜图.png
Normal file
BIN
Assets/Art/UITextures/显微镜图.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
179
Assets/Art/UITextures/显微镜图.png.meta
Normal file
179
Assets/Art/UITextures/显微镜图.png.meta
Normal file
@ -0,0 +1,179 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f11c79cd874221044a5d7b64ee57633b
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
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: 2
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
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: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
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: 8192
|
||||
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: 8192
|
||||
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: iPhone
|
||||
maxTextureSize: 8192
|
||||
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: Android
|
||||
maxTextureSize: 8192
|
||||
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: Windows Store Apps
|
||||
maxTextureSize: 8192
|
||||
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: 8192
|
||||
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: Server
|
||||
maxTextureSize: 8192
|
||||
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: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
975
Assets/Scenes/TestUIPanels/TestUIInput.unity
Normal file
975
Assets/Scenes/TestUIPanels/TestUIInput.unity
Normal file
@ -0,0 +1,975 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 9
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 0
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 12
|
||||
m_GIWorkflowMode: 1
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_FinalGather: 0
|
||||
m_FinalGatherFiltering: 1
|
||||
m_FinalGatherRayCount: 256
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 256
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRDenoiserTypeDirect: 1
|
||||
m_PVRDenoiserTypeIndirect: 1
|
||||
m_PVRDenoiserTypeAO: 1
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 3
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &119274541
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 119274542}
|
||||
m_Layer: 5
|
||||
m_Name: CanvasPanel
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &119274542
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 119274541}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &318662747
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 318662748}
|
||||
m_Layer: 5
|
||||
m_Name: Common
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &318662748
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 318662747}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &321381474
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 321381476}
|
||||
- component: {fileID: 321381475}
|
||||
m_Layer: 0
|
||||
m_Name: TestUIInput
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &321381475
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 321381474}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b6b7a3e7dc894eaca1053ef166cdad33, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
PanelName: UIInput
|
||||
Level: 0
|
||||
mOtherPanels: []
|
||||
--- !u!4 &321381476
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 321381474}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &527905147
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 527905148}
|
||||
- component: {fileID: 527905149}
|
||||
m_Layer: 5
|
||||
m_Name: Design
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &527905148
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 527905147}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 2503559559879226178}
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &527905149
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 527905147}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6eba024ea32574239b57b098f1dc6282, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &567590780
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 567590781}
|
||||
m_Layer: 5
|
||||
m_Name: PopUI
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &567590781
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 567590780}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1.0000799, y: 1.0000799, z: 1.0000799}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &899949214
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 899949215}
|
||||
- component: {fileID: 899949217}
|
||||
- component: {fileID: 899949216}
|
||||
m_Layer: 5
|
||||
m_Name: EventSystem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &899949215
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 899949214}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &899949216
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 899949214}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_SendPointerHoverToParent: 1
|
||||
m_HorizontalAxis: Horizontal
|
||||
m_VerticalAxis: Vertical
|
||||
m_SubmitButton: Submit
|
||||
m_CancelButton: Cancel
|
||||
m_InputActionsPerSecond: 10
|
||||
m_RepeatDelay: 0.5
|
||||
m_ForceModuleActive: 1
|
||||
--- !u!114 &899949217
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 899949214}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_FirstSelected: {fileID: 0}
|
||||
m_sendNavigationEvents: 1
|
||||
m_DragThreshold: 5
|
||||
--- !u!1 &1255933117
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1255933118}
|
||||
m_Layer: 5
|
||||
m_Name: Bg
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1255933118
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1255933117}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &1355964115
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1355964118}
|
||||
- component: {fileID: 1355964116}
|
||||
- component: {fileID: 1355964117}
|
||||
m_Layer: 5
|
||||
m_Name: UICamera
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!20 &1355964116
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1355964115}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 3
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_Iso: 200
|
||||
m_ShutterSpeed: 0.005
|
||||
m_Aperture: 16
|
||||
m_FocusDistance: 10
|
||||
m_FocalLength: 50
|
||||
m_BladeCount: 5
|
||||
m_Curvature: {x: 2, y: 11}
|
||||
m_BarrelClipping: 0.25
|
||||
m_Anamorphism: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 1
|
||||
orthographic size: 5
|
||||
m_Depth: 99
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 32
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 0
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!124 &1355964117
|
||||
Behaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1355964115}
|
||||
m_Enabled: 1
|
||||
--- !u!4 &1355964118
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1355964115}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: -100}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1425618154
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1425618155}
|
||||
- component: {fileID: 1425618156}
|
||||
m_Layer: 5
|
||||
m_Name: Manager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1425618155
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1425618154}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1425618156
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1425618154}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 5dc84f25d84334e168bf64050b91e1fb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &1613711202
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1613711203}
|
||||
- component: {fileID: 1613711206}
|
||||
- component: {fileID: 1613711205}
|
||||
- component: {fileID: 1613711204}
|
||||
m_Layer: 5
|
||||
m_Name: RightBottom
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1613711203
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1613711202}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1753965132}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 1828.92, y: 0}
|
||||
m_Pivot: {x: 1, y: -0.000000461936}
|
||||
--- !u!222 &1613711204
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1613711202}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &1613711205
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1613711202}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_HorizontalFit: 0
|
||||
m_VerticalFit: 2
|
||||
--- !u!114 &1613711206
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1613711202}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Padding:
|
||||
m_Left: 0
|
||||
m_Right: 0
|
||||
m_Top: 10
|
||||
m_Bottom: 10
|
||||
m_ChildAlignment: 8
|
||||
m_Spacing: 10
|
||||
m_ChildForceExpandWidth: 0
|
||||
m_ChildForceExpandHeight: 0
|
||||
m_ChildControlWidth: 1
|
||||
m_ChildControlHeight: 1
|
||||
m_ChildScaleWidth: 0
|
||||
m_ChildScaleHeight: 1
|
||||
m_ReverseArrangement: 1
|
||||
--- !u!1 &1753965127
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1753965132}
|
||||
- component: {fileID: 1753965131}
|
||||
- component: {fileID: 1753965130}
|
||||
- component: {fileID: 1753965129}
|
||||
- component: {fileID: 1753965128}
|
||||
m_Layer: 5
|
||||
m_Name: UIRoot
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1753965128
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1753965127}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d2db7fffd623c478eba3d2cb84034d2f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
UICamera: {fileID: 1355964116}
|
||||
Canvas: {fileID: 1753965131}
|
||||
CanvasScaler: {fileID: 1753965130}
|
||||
GraphicRaycaster: {fileID: 1753965129}
|
||||
Bg: {fileID: 1255933118}
|
||||
Common: {fileID: 318662748}
|
||||
PopUI: {fileID: 567590781}
|
||||
RightBottom: {fileID: 1613711203}
|
||||
CanvasPanel: {fileID: 119274542}
|
||||
--- !u!114 &1753965129
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1753965127}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_IgnoreReversedGraphics: 0
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!114 &1753965130
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1753965127}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_UiScaleMode: 1
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0.5
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!223 &1753965131
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1753965127}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 1355964116}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 25
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 100
|
||||
m_TargetDisplay: 0
|
||||
--- !u!224 &1753965132
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1753965127}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1255933118}
|
||||
- {fileID: 318662748}
|
||||
- {fileID: 567590781}
|
||||
- {fileID: 1613711203}
|
||||
- {fileID: 119274542}
|
||||
- {fileID: 527905148}
|
||||
- {fileID: 899949215}
|
||||
- {fileID: 1355964118}
|
||||
- {fileID: 1425618155}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!1001 &2503559559879226177
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 527905148}
|
||||
m_Modifications:
|
||||
- target: {fileID: 574820298932651410, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 574820298932651410, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 574820298932651410, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 574820298932651410, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 574820298932651410, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1845703835207110803, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_ContentType
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1845703835207110803, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_KeyboardType
|
||||
value: 2
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1845703835207110803, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_CharacterValidation
|
||||
value: 3
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4545114239560184396, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 4545114239560184396, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6480927443147390969, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6480927443147390969, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6480927443147390969, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6480927443147390969, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6480927443147390969, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7733627955877287465, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: UIInput
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_Pivot.x
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_Pivot.y
|
||||
value: 0.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMin.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_SizeDelta.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8506655801466898176, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8506655801466898176, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8506655801466898176, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_SizeDelta.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8506655801466898176, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 8506655801466898176, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
propertyPath: m_AnchoredPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
--- !u!224 &2503559559879226178 stripped
|
||||
RectTransform:
|
||||
m_CorrespondingSourceObject: {fileID: 7964080183519823441, guid: 7857b06d3ccdcfc458b91dbc61f33966, type: 3}
|
||||
m_PrefabInstance: {fileID: 2503559559879226177}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 1753965132}
|
||||
- {fileID: 321381476}
|
||||
7
Assets/Scenes/TestUIPanels/TestUIInput.unity.meta
Normal file
7
Assets/Scenes/TestUIPanels/TestUIInput.unity.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: de51412f13336214c9da0b2710e215fd
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1614
Assets/Scenes/XianWeiJing.unity
Normal file
1614
Assets/Scenes/XianWeiJing.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Scenes/XianWeiJing.unity.meta
Normal file
7
Assets/Scenes/XianWeiJing.unity.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9069dacdeef8d2646a2e8afe1ef899a8
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -241,6 +241,11 @@ public class ActionHelper
|
||||
var dictAction = (XMLTool.DictionaryAction)act;
|
||||
return MatAction.Allocate(dictAction.args);
|
||||
}
|
||||
case "Input":
|
||||
{
|
||||
var dictAction = (XMLTool.InputAction)act;
|
||||
return QFramework.InputAction.Allocate(dictAction.data);
|
||||
}
|
||||
default:
|
||||
Debug.LogError($"没有找到此Action的类型{act.Type}");
|
||||
break;
|
||||
|
||||
@ -25,6 +25,7 @@ namespace QFramework
|
||||
bool isHigh = true;
|
||||
string deviceName = string.Empty;
|
||||
string isIndependent;
|
||||
string visibility;
|
||||
public static HighLightAction Allocate(string path, Dictionary<string, string> datas, System.Action OnFinished = null)
|
||||
{
|
||||
var retNode = mPool.Allocate();
|
||||
@ -45,6 +46,7 @@ namespace QFramework
|
||||
}
|
||||
retNode.deviceName = datas.ContainsKey("deviceName") ? datas["deviceName"] : string.Empty;
|
||||
retNode.isIndependent = datas.ContainsKey("isIndependent") ? datas["isIndependent"] : string.Empty;
|
||||
retNode.visibility = datas.ContainsKey("visibility") ? datas["visibility"] : string.Empty;
|
||||
retNode.OnFinished = OnFinished;
|
||||
return retNode;
|
||||
}
|
||||
@ -72,6 +74,9 @@ namespace QFramework
|
||||
var effect = obj.GetOrAddComponent<HighlightEffect>();
|
||||
effect.outlineColor = color;
|
||||
effect.highlighted = true;
|
||||
Visibility visibility = Visibility.Normal;
|
||||
Enum.TryParse(this.visibility, out visibility);
|
||||
effect.outlineVisibility = visibility;
|
||||
obj.GetOrAddComponent<HighLightOnStepChanged>();
|
||||
if (string.IsNullOrEmpty(isIndependent) == false)
|
||||
{
|
||||
|
||||
@ -28,6 +28,7 @@ namespace QFramework
|
||||
string count;
|
||||
string time;
|
||||
string finishedEvent;
|
||||
string visibility;
|
||||
public static HighLightFlashAction Allocate(string path, Dictionary<string, string> datas, System.Action OnFinished = null)
|
||||
{
|
||||
var retNode = mPool.Allocate();
|
||||
@ -51,6 +52,7 @@ namespace QFramework
|
||||
retNode.count = datas.ContainsKey("count") ? datas["count"] : string.Empty;
|
||||
retNode.time = datas.ContainsKey("time") ? datas["time"] : string.Empty;
|
||||
retNode.finishedEvent = datas.ContainsKey("finishedEvent") ? datas["finishedEvent"] : string.Empty;
|
||||
retNode.visibility = datas.ContainsKey("visibility") ? datas["visibility"] : string.Empty;
|
||||
retNode.OnFinished = OnFinished;
|
||||
return retNode;
|
||||
}
|
||||
@ -79,6 +81,9 @@ namespace QFramework
|
||||
var effect = obj.GetOrAddComponent<HighlightEffect>();
|
||||
effect.outlineColor = color;
|
||||
effect.highlighted = true;
|
||||
Visibility visibility = Visibility.Normal;
|
||||
Enum.TryParse(this.visibility, out visibility);
|
||||
effect.outlineVisibility = visibility;
|
||||
obj.GetOrAddComponent<HighLightOnStepChanged>();
|
||||
if (string.IsNullOrEmpty(isIndependent) == false)
|
||||
{
|
||||
|
||||
79
Assets/Scripts/Actions/InputAction.cs
Normal file
79
Assets/Scripts/Actions/InputAction.cs
Normal file
@ -0,0 +1,79 @@
|
||||
using QFramework.Example;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QFramework
|
||||
{
|
||||
internal class InputAction : IAction
|
||||
{
|
||||
|
||||
|
||||
public System.Action OnFinished { get; set; }
|
||||
|
||||
|
||||
private InputAction()
|
||||
{
|
||||
}
|
||||
|
||||
private static readonly SimpleObjectPool<InputAction> mPool =
|
||||
new SimpleObjectPool<InputAction>(() => new InputAction(), null, 10);
|
||||
|
||||
UIInputData data;
|
||||
public static InputAction Allocate(UIInputData data, System.Action OnFinished = null)
|
||||
{
|
||||
var retNode = mPool.Allocate();
|
||||
retNode.ActionID = ActionKit.ID_GENERATOR++;
|
||||
retNode.Deinited = false;
|
||||
retNode.Reset();
|
||||
retNode.OnFinished = OnFinished;
|
||||
retNode.data = data;
|
||||
return retNode;
|
||||
}
|
||||
|
||||
|
||||
public ulong ActionID { get; set; }
|
||||
public ActionStatus Status { get; set; }
|
||||
|
||||
public void OnStart()
|
||||
{
|
||||
UIKit.OpenPanelAsync<UIInput>(canvasLevel: UILevel.PopUI, uiData: data).ToAction().StartGlobal(() =>
|
||||
{
|
||||
this.Finish();
|
||||
});
|
||||
}
|
||||
|
||||
public void OnExecute(float dt)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void OnFinish()
|
||||
{
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
Status = ActionStatus.NotStart;
|
||||
Paused = false;
|
||||
}
|
||||
|
||||
public bool Paused { get; set; }
|
||||
|
||||
public void Deinit()
|
||||
{
|
||||
if (!Deinited)
|
||||
{
|
||||
data = null;
|
||||
OnFinished = null;
|
||||
Deinited = true;
|
||||
mPool.Recycle(this);
|
||||
}
|
||||
}
|
||||
|
||||
public bool Deinited { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
11
Assets/Scripts/Actions/InputAction.cs.meta
Normal file
11
Assets/Scripts/Actions/InputAction.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e780aee22b51a374f8fb1822b9c5a825
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -51,8 +51,11 @@ public class VarController : MonoSingleton<VarController>
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
varDict.Clear();
|
||||
varDict = null;
|
||||
if (varDict!=null)
|
||||
{
|
||||
varDict.Clear();
|
||||
varDict = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ public class HighLightFlashItem : MonoBehaviour
|
||||
public void Init(float time, int count = -1, string finishedEvent = null)
|
||||
{
|
||||
high = GetComponent<HighlightEffect>();
|
||||
high.outline = 0;
|
||||
high.outline = 0.01f;
|
||||
dotw = DOTween.To(() => high.outline, (v) => high.outline = v, 1, time).SetEase(Ease.OutFlash).SetLoops(count, LoopType.Yoyo).OnComplete(() =>
|
||||
{
|
||||
if (string.IsNullOrEmpty(finishedEvent)==false)
|
||||
|
||||
58
Assets/Scripts/UI/UIInput.Designer.cs
generated
Normal file
58
Assets/Scripts/UI/UIInput.Designer.cs
generated
Normal file
@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using QFramework;
|
||||
|
||||
namespace QFramework.Example
|
||||
{
|
||||
// Generate Id:6e2f1a9c-a7cd-4642-a6e7-1149d5e8be5b
|
||||
public partial class UIInput
|
||||
{
|
||||
public const string Name = "UIInput";
|
||||
|
||||
[SerializeField]
|
||||
public TMPro.TextMeshProUGUI Title;
|
||||
[SerializeField]
|
||||
public RectTransform InputContent;
|
||||
[SerializeField]
|
||||
public RectTransform BtnContent;
|
||||
[SerializeField]
|
||||
public RectTransform InputItem;
|
||||
[SerializeField]
|
||||
public UnityEngine.UI.Button BtnItem;
|
||||
|
||||
private UIInputData mPrivateData = null;
|
||||
|
||||
protected override void ClearUIComponents()
|
||||
{
|
||||
Title = null;
|
||||
InputContent = null;
|
||||
BtnContent = null;
|
||||
InputItem = null;
|
||||
BtnItem = null;
|
||||
|
||||
mData = null;
|
||||
}
|
||||
|
||||
public UIInputData Data
|
||||
{
|
||||
get
|
||||
{
|
||||
return mData;
|
||||
}
|
||||
}
|
||||
|
||||
UIInputData mData
|
||||
{
|
||||
get
|
||||
{
|
||||
return mPrivateData ?? (mPrivateData = new UIInputData());
|
||||
}
|
||||
set
|
||||
{
|
||||
mUIData = value;
|
||||
mPrivateData = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/UI/UIInput.Designer.cs.meta
Normal file
11
Assets/Scripts/UI/UIInput.Designer.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9b0ae089e7d853742a1bc058fca86a41
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
151
Assets/Scripts/UI/UIInput.cs
Normal file
151
Assets/Scripts/UI/UIInput.cs
Normal file
@ -0,0 +1,151 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using QFramework;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
|
||||
namespace QFramework.Example
|
||||
{
|
||||
public class UIInputData : UIPanelData
|
||||
{
|
||||
public class InputData
|
||||
{
|
||||
public string name;
|
||||
public string var;
|
||||
public string answer;
|
||||
}
|
||||
public class BtnData
|
||||
{
|
||||
public string name;
|
||||
public string clickEvent;
|
||||
public bool checkAnswer;
|
||||
public string wrongLabel;
|
||||
public string wrongEvent;
|
||||
public int wrongCount;
|
||||
public string scoreStepName;
|
||||
public float rightScore = 0;
|
||||
public float wrongScore = 0;
|
||||
public float autoHide = -1;
|
||||
}
|
||||
|
||||
public string title;
|
||||
public List<InputData> inputs = new List<InputData>();
|
||||
public List<BtnData> btns = new List<BtnData>();
|
||||
public string finishedEvent;
|
||||
|
||||
}
|
||||
public partial class UIInput : UIPanel
|
||||
{
|
||||
int curCount = 0;
|
||||
protected override void OnInit(IUIData uiData = null)
|
||||
{
|
||||
// please add init code here
|
||||
}
|
||||
|
||||
protected override void OnOpen(IUIData uiData = null)
|
||||
{
|
||||
mData = uiData as UIInputData ?? new UIInputData();
|
||||
curCount = 0;
|
||||
Title.text = mData.title;
|
||||
InputContent.RemoveAllChildren();
|
||||
BtnContent.RemoveAllChildren();
|
||||
foreach (var item in mData.inputs)
|
||||
{
|
||||
GameObject input = GameObject.Instantiate(InputItem.gameObject, InputContent);
|
||||
input.transform.Find("Name").GetComponent<TextMeshProUGUI>().text = item.name;
|
||||
var inputField = input.transform.Find("Input").GetComponent<TMP_InputField>();
|
||||
inputField.onEndEdit.AddListener(value =>
|
||||
{
|
||||
float v = 0;
|
||||
float.TryParse(value, out v);
|
||||
VarController.Instance.Set(item.var, v);
|
||||
});
|
||||
}
|
||||
|
||||
foreach (var item in mData.btns)
|
||||
{
|
||||
GameObject btn = GameObject.Instantiate(BtnItem.gameObject, BtnContent);
|
||||
btn.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = item.name;
|
||||
btn.name = item.name;
|
||||
btn.GetComponent<Button>().onClick.AddListener(() =>
|
||||
{
|
||||
if (item.checkAnswer)
|
||||
{
|
||||
if (Check())
|
||||
{
|
||||
if (string.IsNullOrEmpty(item.scoreStepName) == false)
|
||||
{
|
||||
ScoreController.Instance.Add(item.scoreStepName, item.rightScore);
|
||||
}
|
||||
Hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (curCount >= item.wrongCount)
|
||||
{
|
||||
Hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (string.IsNullOrEmpty(item.scoreStepName) == false)
|
||||
{
|
||||
ScoreController.Instance.Add(item.scoreStepName, item.wrongScore);
|
||||
}
|
||||
curCount++;
|
||||
var data = new UIResultTipData();
|
||||
data.label = item.wrongLabel;
|
||||
data.isRight = false;
|
||||
data.callback = () =>
|
||||
{
|
||||
if (string.IsNullOrEmpty(item.wrongEvent) == false)
|
||||
{
|
||||
StringEventSystem.Global.Send(item.wrongEvent);
|
||||
}
|
||||
};
|
||||
data.autoHideTime = item.autoHide;
|
||||
UIKit.OpenPanelAsync<UIResultTip>(uiData: data, canvasLevel: UILevel.PopUI).ToAction().Start(this);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Hide();
|
||||
if (string.IsNullOrEmpty(item.clickEvent) == false)
|
||||
{
|
||||
StringEventSystem.Global.Send(item.clickEvent);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
public bool Check()
|
||||
{
|
||||
foreach (var item in mData.inputs)
|
||||
{
|
||||
if (VarController.Instance.Get(item.var).ToString() != item.answer)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnHide()
|
||||
{
|
||||
if (string.IsNullOrEmpty(mData.finishedEvent) == false)
|
||||
{
|
||||
StringEventSystem.Global.Send(mData.finishedEvent);
|
||||
}
|
||||
mData = null;
|
||||
}
|
||||
|
||||
protected override void OnClose()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/UI/UIInput.cs.meta
Normal file
11
Assets/Scripts/UI/UIInput.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4fda4185b5161064f9f7bde6feb5505b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -7,6 +7,7 @@ using TMPro;
|
||||
using System.Collections.Generic;
|
||||
using static OperationController;
|
||||
using System;
|
||||
using UnityEditor.Hardware;
|
||||
namespace QFramework.Example
|
||||
{
|
||||
public class UIOperationListData : UIPanelData
|
||||
@ -20,7 +21,7 @@ namespace QFramework.Example
|
||||
protected override void OnInit(IUIData uiData = null)
|
||||
{
|
||||
mData = uiData as UIOperationListData ?? new UIOperationListData();
|
||||
TypeEventSystem.Global.Register<OnModuleQuit>((arg)=>Hide()).UnRegisterWhenGameObjectDestroyed(gameObject);
|
||||
TypeEventSystem.Global.Register<OnModuleQuit>((arg) => Hide()).UnRegisterWhenGameObjectDestroyed(gameObject);
|
||||
}
|
||||
|
||||
private void OnStepChanged(StepStatusOnChange change)
|
||||
@ -88,54 +89,60 @@ namespace QFramework.Example
|
||||
StepContent.RemoveAllChildren();
|
||||
foreach (var item in op.Steps)
|
||||
{
|
||||
GameObject obj = GameObject.Instantiate(Step.gameObject, StepContent);
|
||||
Transform title = obj.transform.Find("Title");
|
||||
var name = title.Find("Name").GetComponent<TextMeshProUGUI>();
|
||||
name.text = item.Name;
|
||||
var arrow = title.Find("Arrow").transform;
|
||||
Image highIcon = title.Find("HighIcon").GetComponent<Image>();
|
||||
Color highColor = new Color(25f / 255f, 224f / 255f, 224f / 255f);
|
||||
GameObject subContent = obj.transform.Find("SubContent").gameObject;
|
||||
Button btn = title.GetComponent<Button>();
|
||||
subContent.gameObject.SetActive(false);
|
||||
btn.name = btns.Count.ToString();
|
||||
btns.Add(btn);
|
||||
btn.onClick.AddListener(() =>
|
||||
{
|
||||
subContent.SetActive(!subContent.activeSelf);
|
||||
if (op.freeStep)
|
||||
{
|
||||
if (highIcon.color != highColor)
|
||||
{
|
||||
|
||||
TypeEventSystem.Global.Send<StepExecute>(new StepExecute() { index = int.Parse(btn.name) });
|
||||
}
|
||||
}
|
||||
});
|
||||
if (item.SubSteps != null)
|
||||
if (item.SubSteps != null && item.SubSteps.Count > 0)
|
||||
{
|
||||
GameObject obj = GameObject.Instantiate(Step.gameObject, StepContent);
|
||||
Transform title = obj.transform.Find("Title");
|
||||
var name = title.Find("Name").GetComponent<TextMeshProUGUI>();
|
||||
name.text = item.Name;
|
||||
Image highIcon = title.Find("HighIcon").GetComponent<Image>();
|
||||
Color highColor = new Color(25f / 255f, 224f / 255f, 224f / 255f);
|
||||
GameObject subContent = obj.transform.Find("SubContent").gameObject;
|
||||
Button btn = title.GetComponent<Button>();
|
||||
subContent.gameObject.SetActive(false);
|
||||
btn.name = btns.Count.ToString();
|
||||
btns.Add(btn);
|
||||
btn.onClick.AddListener(() =>
|
||||
{
|
||||
subContent.SetActive(!subContent.activeSelf);
|
||||
if (op.freeStep)
|
||||
{
|
||||
if (highIcon.color != highColor)
|
||||
{
|
||||
TypeEventSystem.Global.Send<StepExecute>(new StepExecute() { index = int.Parse(btn.name) });
|
||||
}
|
||||
}
|
||||
});
|
||||
foreach (var sub in item.SubSteps)
|
||||
{
|
||||
GameObject subObj = GameObject.Instantiate(SubStep.gameObject, subContent.transform);
|
||||
var stepLabel = subObj.transform.Find("StepLabel").GetComponent<TextMeshProUGUI>();
|
||||
stepLabel.text = sub.Name;
|
||||
Button subBtn = subObj.GetComponent<Button>();
|
||||
subBtn.name = btns.Count.ToString();
|
||||
btns.Add(subBtn);
|
||||
subBtn.onClick.AddListener(() =>
|
||||
{
|
||||
if (op.freeStep)
|
||||
{
|
||||
subBtn.transform.parent.gameObject.SetActive(true);
|
||||
TypeEventSystem.Global.Send<StepExecute>(new StepExecute() { index = int.Parse(subBtn.name) });
|
||||
}
|
||||
});
|
||||
StepItemFactory(subContent.transform, sub.Name);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
StepItemFactory(StepContent, item.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void StepItemFactory(Transform content, string txt)
|
||||
{
|
||||
GameObject subObj = GameObject.Instantiate(SubStep.gameObject, content.transform);
|
||||
var stepLabel = subObj.transform.Find("StepLabel").GetComponent<TextMeshProUGUI>();
|
||||
stepLabel.text = txt;
|
||||
Button subBtn = subObj.GetComponent<Button>();
|
||||
subBtn.name = btns.Count.ToString();
|
||||
btns.Add(subBtn);
|
||||
subBtn.onClick.AddListener(() =>
|
||||
{
|
||||
if (op.freeStep)
|
||||
{
|
||||
subBtn.transform.parent.gameObject.SetActive(true);
|
||||
TypeEventSystem.Global.Send<StepExecute>(new StepExecute() { index = int.Parse(subBtn.name) });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
{
|
||||
|
||||
@ -99,7 +99,10 @@ namespace QFramework.Example
|
||||
data.isRight = true;
|
||||
data.callback = () =>
|
||||
{
|
||||
StringEventSystem.Global.Send(mData.rightEvent);
|
||||
if (string.IsNullOrEmpty(mData.rightEvent) == false)
|
||||
{
|
||||
StringEventSystem.Global.Send(mData.rightEvent);
|
||||
}
|
||||
};
|
||||
data.autoHideTime = mData.autoHideResult;
|
||||
UIKit.OpenPanelAsync<UIResultTip>(uiData: data, canvasLevel: UILevel.PopUI).ToAction().StartGlobal();
|
||||
@ -113,7 +116,10 @@ namespace QFramework.Example
|
||||
data.isRight = false;
|
||||
data.callback = () =>
|
||||
{
|
||||
StringEventSystem.Global.Send(mData.wrongEvent);
|
||||
if (string.IsNullOrEmpty(mData.wrongEvent) == false)
|
||||
{
|
||||
StringEventSystem.Global.Send(mData.wrongEvent);
|
||||
}
|
||||
SetSelected(obj, false);
|
||||
};
|
||||
data.autoHideTime = mData.autoHideResult;
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
using Microsoft.SqlServer.Server;
|
||||
using QFramework;
|
||||
using QFramework.Example;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
using UnityEngine;
|
||||
using static UnityEngine.Rendering.DebugUI;
|
||||
using static QFramework.Example.UIInputData;
|
||||
using static UnityEditor.Progress;
|
||||
namespace XMLTool
|
||||
{
|
||||
public class AppData
|
||||
@ -95,6 +97,15 @@ namespace XMLTool
|
||||
public List<Data> datas = new List<Data>();
|
||||
}
|
||||
|
||||
|
||||
public class InputAction : Action
|
||||
{
|
||||
public UIInputData data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public class Condition : ActionItem
|
||||
{
|
||||
}
|
||||
@ -787,6 +798,11 @@ namespace XMLTool
|
||||
{
|
||||
act.args.Add("isIndependent", isIndependent.Value);
|
||||
}
|
||||
XAttribute visibility = action.Attribute("visibility");
|
||||
if (visibility != null)
|
||||
{
|
||||
act.args.Add("visibility", visibility.Value);
|
||||
}
|
||||
newAction = act;
|
||||
}
|
||||
break;
|
||||
@ -829,6 +845,11 @@ namespace XMLTool
|
||||
{
|
||||
act.args.Add("finishedEvent", finishedEvent.Value);
|
||||
}
|
||||
XAttribute visibility = action.Attribute("visibility");
|
||||
if (visibility != null)
|
||||
{
|
||||
act.args.Add("visibility", visibility.Value);
|
||||
}
|
||||
newAction = act;
|
||||
}
|
||||
break;
|
||||
@ -1179,6 +1200,58 @@ namespace XMLTool
|
||||
newAction = act;
|
||||
}
|
||||
break;
|
||||
case "Input":
|
||||
{
|
||||
var act = new InputAction();
|
||||
act.data = new UIInputData();
|
||||
act.data.title = action.Attribute("title")?.Value;
|
||||
act.data.finishedEvent = action.Attribute("finishedEvent")?.Value;
|
||||
foreach (var item in action.Elements("Input"))
|
||||
{
|
||||
UIInputData.InputData inputData = new UIInputData.InputData();
|
||||
inputData.answer = item.Attribute("answer")?.Value;
|
||||
inputData.var = item.Attribute("var")?.Value;
|
||||
inputData.name = item.Attribute("name")?.Value;
|
||||
act.data.inputs.Add(inputData);
|
||||
}
|
||||
foreach (var item in action.Elements("Btn"))
|
||||
{
|
||||
UIInputData.BtnData btnData = new UIInputData.BtnData();
|
||||
btnData.name = item.Attribute("name")?.Value;
|
||||
btnData.clickEvent = item.Attribute("clickEvent")?.Value;
|
||||
XAttribute checkAnswer = item.Attribute("checkAnswer");
|
||||
if (checkAnswer != null)
|
||||
{
|
||||
bool.TryParse(checkAnswer.Value, out btnData.checkAnswer);
|
||||
}
|
||||
btnData.wrongLabel = item.Attribute("wrongLabel")?.Value;
|
||||
btnData.wrongEvent = item.Attribute("wrongEvent")?.Value;
|
||||
XAttribute wrongCount = item.Attribute("wrongCount");
|
||||
if (wrongCount != null)
|
||||
{
|
||||
int.TryParse(wrongCount.Value, out btnData.wrongCount);
|
||||
}
|
||||
XAttribute autoHide = item.Attribute("autoHide");
|
||||
if (autoHide != null)
|
||||
{
|
||||
float.TryParse(autoHide.Value, out btnData.autoHide);
|
||||
}
|
||||
btnData.scoreStepName = item.Attribute("scoreStepName")?.Value;
|
||||
XAttribute rightScore = item.Attribute("rightScore");
|
||||
if (rightScore != null)
|
||||
{
|
||||
float.TryParse(rightScore.Value, out btnData.rightScore);
|
||||
}
|
||||
XAttribute wrongScore = item.Attribute("wrongScore");
|
||||
if (wrongScore != null)
|
||||
{
|
||||
float.TryParse(wrongScore.Value, out btnData.wrongScore);
|
||||
}
|
||||
act.data.btns.Add(btnData);
|
||||
}
|
||||
newAction = act;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
newAction = new Action();
|
||||
break;
|
||||
|
||||
@ -1,13 +1,207 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
未完成项目
|
||||
宝石有模糊变清晰
|
||||
宝石有小变大
|
||||
电源开关
|
||||
-->
|
||||
<Module>
|
||||
<Scene>Scene</Scene>
|
||||
<Scene>XianWeiJing</Scene>
|
||||
<Type>All</Type>
|
||||
<Name>显微镜的使用</Name>
|
||||
|
||||
|
||||
<FSM name="初始化状态机">
|
||||
<State name="初始化">
|
||||
<Enter>
|
||||
<Action type="Sequence">
|
||||
<Action type="UIShow" value="UIOperationList" isShow="true"></Action>
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Enter>
|
||||
</State>
|
||||
|
||||
<Transision from="any" to="初始化">
|
||||
</Transision>
|
||||
</FSM>
|
||||
|
||||
<Score>
|
||||
<Item step="1.打开显微镜电源,调焦" name="1.打开显微镜电源,调焦" sum="0" bind=""/>
|
||||
</Score>
|
||||
|
||||
|
||||
<Operation moduleType="Study">
|
||||
<Step name="1.打开显微镜电源,调焦">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Parallel">
|
||||
<Action type="Move" value="FlyCamera" to="1.238,1.752,2.687" time="0"></Action>
|
||||
<Action type="Rotate" value="FlyCamera" to="18.469,271.531,9.001349E-07" time="0"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="HighLightFlash" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan"></Condition>
|
||||
<Action type="HighLightFlash" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan" isHigh="false"></Action>
|
||||
<Action type="Rotate" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan" to="318.2988,332.9998,198.7248" time="0.5"></Action>
|
||||
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu" isHigh="false"></Action>
|
||||
<Action type="Rotate" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu" to="315,0,180" time="1.0"></Action>
|
||||
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
<Step name="2.打开顶光源灯光,调节亮度">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Parallel">
|
||||
<Action type="Move" value="FlyCamera" to="0.939,1.703,1.95" time="0"></Action>
|
||||
<Action type="Rotate" value="FlyCamera" to="18.46903,338.7242,-2.700405E-06" time="0"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" isHigh="false"></Action>
|
||||
|
||||
<Action type="Parallel">
|
||||
<Action type="Rotate" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" to="315,180,315" time="1.0"></Action>
|
||||
<Action type="Anim" value="CustomParent/TopLight" animName="XianWeiJing_TopLight" speed="1"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
<Step name="3.打开底光源灯光,调节亮度">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiGuang" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_DiGuang" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiGuang" isHigh="false"></Action>
|
||||
|
||||
<Action type="Parallel">
|
||||
<Action type="Rotate" value="ChangJing/SM_XianWeiJing/SM_DiGuang" to="315,180,324.9439" time="1.0"></Action>
|
||||
<Action type="Anim" value="CustomParent/BottomLight" animName="XianWeiJing_BottomLight" speed="1"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
<Step name="4.放置宝石">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Parallel">
|
||||
<Action type="Move" value="FlyCamera" to="0.309,1.582,2.1508" time="1.0"></Action>
|
||||
<Action type="Rotate" value="FlyCamera" to="24.803,359.162,1.469582E-08" time="1.0"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi/SM_Qiu/SM_JiaBang/SM_HaiLanBaoShi (1)" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi/SM_Qiu/SM_JiaBang/SM_HaiLanBaoShi (1)" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi/SM_Qiu/SM_JiaBang/SM_HaiLanBaoShi (1)" isHigh="false"></Action>
|
||||
|
||||
<Action type="Anim" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi" animName="XianWeiJing_SM_JiaZi" speed="1"></Action>
|
||||
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
<Step name="5.调焦">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Parallel">
|
||||
<Action type="Move" value="FlyCamera" to="0.577,1.639,1.861" time="0"></Action>
|
||||
<Action type="Rotate" value="FlyCamera" to="14.79898,359.162,2.759583E-08" time="0"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu" isHigh="false"></Action>
|
||||
|
||||
<Action type="Rotate" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_MuJing/SM_FangDaXuanNiu" to="0,1.866934E-05,180" time="1.5"></Action>
|
||||
<!--宝石虚化变清晰-->
|
||||
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
<Step name="6.调整放大倍数观察">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Show" value="CustomParent/Canvas" isShow="true"></Action>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_JiaoJuXuanNiu" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_JiaoJuXuanNiu" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_JiaoJuXuanNiu" isHigh="false"></Action>
|
||||
|
||||
<Action type="Parallel">
|
||||
<Action type="Rotate" value="ChangJing/SM_XianWeiJing/SM_ZhiZuo/SM_JiaoJuXuanNiu" to="315,180,-5.757419E-13" time="1.5"></Action>
|
||||
<!--宝石由小变大-->
|
||||
<Action type="Scale" value="CustomParent/Canvas/YuanKuang/HaiLanBaoShiImg" to="1.2,1.2,1.2" time="1.5"></Action>
|
||||
</Action>
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
<Step name="7.取下宝石">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Parallel">
|
||||
<Action type="Move" value="FlyCamera" to="0.309,1.582,2.1508" time="1.0"></Action>
|
||||
<Action type="Rotate" value="FlyCamera" to="24.803,359.162,1.469582E-08" time="1.0"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi/SM_Qiu/SM_JiaBang/SM_HaiLanBaoShi (1)" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi/SM_Qiu/SM_JiaBang/SM_HaiLanBaoShi (1)" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi/SM_Qiu/SM_JiaBang/SM_HaiLanBaoShi (1)" isHigh="false"></Action>
|
||||
|
||||
<Action type="Anim" value="ChangJing/SM_XianWeiJing/SM_DiZuo/SM_JiaZi" animName="XianWeiJing_SM_JiaZi" speed="-1"></Action>
|
||||
|
||||
<Action type="NextOperation"></Action>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
<Step name="8.关闭电源">
|
||||
<Start>
|
||||
<Action type="Sequence">
|
||||
<Action type="Parallel">
|
||||
<Action type="Move" value="FlyCamera" to="0.939,1.703,1.95" time="1.0"></Action>
|
||||
<Action type="Rotate" value="FlyCamera" to="18.46903,338.7242,-2.700405E-06" time="1.0"></Action>
|
||||
</Action>
|
||||
<!--关闭顶光源-->
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" isHigh="false"></Action>
|
||||
|
||||
<Action type="Parallel">
|
||||
<Action type="Rotate" value="ChangJing/SM_XianWeiJing/SM_DingGuangq" to="315,180,180" time="1.0"></Action>
|
||||
<Action type="Anim" value="CustomParent/TopLight" animName="XianWeiJing_TopLight" speed="-1"></Action>
|
||||
</Action>
|
||||
<!--关闭底光源-->
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiGuang" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="ChangJing/SM_XianWeiJing/SM_DiGuang" isRight="true"></Condition>
|
||||
<Action type="HighLightFlash" value="ChangJing/SM_XianWeiJing/SM_DiGuang" isHigh="false"></Action>
|
||||
|
||||
<Action type="Parallel">
|
||||
<Action type="Rotate" value="ChangJing/SM_XianWeiJing/SM_DiGuang" to="315,180,180" time="1.0"></Action>
|
||||
<Action type="Anim" value="CustomParent/BottomLight" animName="XianWeiJing_BottomLight" speed="-1"></Action>
|
||||
</Action>
|
||||
<!--关闭电源-->
|
||||
<Action type="Parallel">
|
||||
<Action type="Move" value="FlyCamera" to="1.238,1.752,2.687" time="1.0"></Action>
|
||||
<Action type="Rotate" value="FlyCamera" to="18.469,271.531,9.001349E-07" time="1.0"></Action>
|
||||
</Action>
|
||||
|
||||
<Action type="HighLightFlash" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan" isHigh="true" color="255,0,0,255" time="1" count="-1"></Action>
|
||||
<Condition type="ObjClick" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan"></Condition>
|
||||
<Action type="HighLightFlash" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan" isHigh="false"></Action>
|
||||
<Action type="Rotate" value="SM_XianWeiJing_KG/SM_DiZuo/SM_KaiGuan" to="315,8.651422E-06,180" time="0.5"></Action>
|
||||
<Action type="TipWindow" value="恭喜你完成当前模块" btns="确定" audio=""></Action>
|
||||
<Condition type="UIClick" value="UIRoot/PopUI/UITipWindow/Mask/Connnet/BtnContent/确定"></Condition>
|
||||
</Action>
|
||||
</Start>
|
||||
</Step>
|
||||
</Operation>
|
||||
|
||||
</Module>
|
||||
@ -55,6 +55,24 @@
|
||||
</Action>
|
||||
|
||||
|
||||
<!--输入框
|
||||
title 显示的题目
|
||||
Input 为输入框(可多个) var里面存储是输入值
|
||||
btn 为按钮(可多个)
|
||||
checkAnswer 是否开启检查答案
|
||||
wrongLabel 输入错误的提示文字
|
||||
wrongCount 错误后重新输入的次数
|
||||
autoHide 错误弹窗自动消失的停留时间
|
||||
scoreStepName 对应Score
|
||||
rightScore 答对的分数
|
||||
wrongScore错误的分数 (每错一次扣一次分)
|
||||
-->
|
||||
<Action type="Input" title="请输入" finishedEvent="UI关闭事件通知用StrEvent接收">
|
||||
<Input name="数字1:" var="变量1" answer="100"></Input>
|
||||
<Input name="数字2:" var="变量2" answer="200"></Input>
|
||||
<Btn name="确定" clickEvent="确定点击" checkAnswer="true" wrongLabel="输入错误" wrongCount="3" autoHide="-1" scoreStepName="" rightScore="0" wrongScore="-1"></Btn>
|
||||
<Btn name="取消"></Btn>
|
||||
</Action>
|
||||
|
||||
<!--文字选择题 scoreName="分数名"
|
||||
rightScore="5" 可以是正确加分
|
||||
@ -89,14 +107,17 @@
|
||||
如果deviceName存在 则不用isDevice
|
||||
-->
|
||||
<Action type="Show" value="SM_QvanChangJing/sence/pPlane1" deviceName="设备名字" isShow="false" isDevice="false"></Action>
|
||||
<!--设置物体高亮 deviceName可以用于设备名字 value是物体路径 color是rgba isHigh设置是否显示高亮 isIndependent为true 可以避免模型高亮被遮挡-->
|
||||
<Action type="HighLight" deviceName="设备名字" value="路径" isHigh="true" color="0,255,0,255" isIndependent="true"></Action>
|
||||
<!--设置物体高亮 deviceName可以用于设备名字 value是物体路径 color是rgba isHigh设置是否显示高亮 isIndependent为true 可以避免模型高亮被遮挡
|
||||
visibility: 有三种形式 Normal, AlwaysOnTop,OnlyWhenOccluded
|
||||
-->
|
||||
<Action type="HighLight" deviceName="设备名字" value="路径" isHigh="true" color="0,255,0,255" isIndependent="true" visibility="Normal"></Action>
|
||||
<!--设置物体高亮 deviceName可以用于设备名字 value是物体路径 color是rgba isHigh设置是否显示高亮 isIndependent为true 可以避免模型高亮被遮挡
|
||||
time是从不显示到完全显示的时间
|
||||
count是循环 -1为无限循环需要主动关闭
|
||||
当count不为-1时 可以使用finishedEvent配合strEvent做闪烁结束的监听
|
||||
visibility: 有三种形式 Normal, AlwaysOnTop,OnlyWhenOccluded
|
||||
-->
|
||||
<Action type="HighLightFlash" deviceName="测试" isHigh="true" color="0,255,0,255" time="1" count="-1" finishedEvent="等待"></Action>
|
||||
<Action type="HighLightFlash" deviceName="测试" isHigh="true" color="0,255,0,255" time="1" count="-1" finishedEvent="等待" visibility="Normal"></Action>
|
||||
<!--延迟 value是秒-->
|
||||
<Action type="Delay" value="2"></Action>
|
||||
<!--
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user