修改提示、场景、模型

This commit is contained in:
lujiajian 2025-12-22 16:05:26 +08:00
parent b9437aed93
commit c25c446267
11 changed files with 694 additions and 124 deletions

View File

@ -11,7 +11,7 @@ Material:
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 6
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1

View File

@ -0,0 +1,80 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: "hong_\u6307\u793A\u706F\u7528"
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.5943396, g: 0.18467982, b: 0.12615702, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -1,5 +1,82 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &151008570764258488
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6058520776610032133}
- component: {fileID: 4834707331822253252}
- component: {fileID: 565248344317837987}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6058520776610032133
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 151008570764258488}
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: 7715289980915207216}
m_Father: {fileID: 2444594900165260165}
m_RootOrder: 1
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.0020447, y: -263.1096}
m_SizeDelta: {x: 900.96, y: 61.9592}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4834707331822253252
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 151008570764258488}
m_CullTransparentMesh: 1
--- !u!114 &565248344317837987
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 151008570764258488}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 80d4504a8016fef4f904e8b12808f8d0, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1110202010489701957
GameObject:
m_ObjectHideFlags: 0
@ -186,6 +263,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5233865049348595634}
- {fileID: 6058520776610032133}
m_Father: {fileID: 4549688177440690067}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -547,11 +625,11 @@ RectTransform:
m_Father: {fileID: 5233865049873455249}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 2, y: -0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -2, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &5233865048469690713
CanvasRenderer:
m_ObjectHideFlags: 0
@ -587,7 +665,7 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 0
m_Alignment: 5
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
@ -3696,7 +3774,7 @@ MonoBehaviour:
- m_Show: 1
m_Type: 4
m_Trigger: 3
m_TriggerOn: 0
m_TriggerOn: 1
m_Position: 0
m_ItemFormatter:
m_TitleFormatter:
@ -5286,6 +5364,234 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
chart: {fileID: 5233865049348595635}
serie:
m_Index: 0
m_Show: 1
m_CoordSystem: GridCoord
m_SerieType:
m_SerieName:
m_State: 0
m_ColorBy: 0
m_Stack:
m_XAxisIndex: 0
m_YAxisIndex: 0
m_RadarIndex: 0
m_VesselIndex: 0
m_PolarIndex: 0
m_SingleAxisIndex: 0
m_ParallelIndex: 0
m_GridIndex: -1
m_MinShow: 0
m_MaxShow: 0
m_MaxCache: 0
m_SampleDist: 0
m_SampleType: 1
m_SampleAverage: 0
m_LineType: 0
m_SmoothLimit: 0
m_BarType: 0
m_BarPercentStack: 0
m_BarWidth: 0
m_BarMaxWidth: 0
m_BarGap: 0.1
m_BarZebraWidth: 4
m_BarZebraGap: 2
m_Min: 0
m_Max: 0
m_MinSize: 0
m_MaxSize: 1
m_StartAngle: 0
m_EndAngle: 0
m_MinAngle: 0
m_Clockwise: 1
m_RoundCap: 0
m_SplitNumber: 0
m_ClickOffset: 1
m_RoseType: 0
m_Gap: 0
m_Center:
- 0.5
- 0.46
m_Radius:
- 0
- 0.28
m_MinRadius: 0
m_MinShowLabel: 0
m_MinShowLabelValue: 0
m_ShowDataDimension: 0
m_ShowDataName: 0
m_Clip: 0
m_Ignore: 0
m_IgnoreValue: 0
m_IgnoreLineBreak: 0
m_ShowAsPositiveNumber: 0
m_Large: 1
m_LargeThreshold: 200
m_AvoidLabelOverlap: 0
m_RadarType: 0
m_PlaceHolder: 0
m_DataSortType: 2
m_Orient: 1
m_Align: 0
m_Left: 0
m_Right: 0
m_Top: 0
m_Bottom: 0
m_InsertDataToHead: 0
m_RealtimeSort: 0
m_LineStyle:
m_Show: 1
m_Type: 0
m_Color:
serializedVersion: 2
rgba: 0
m_ToColor:
serializedVersion: 2
rgba: 0
m_ToColor2:
serializedVersion: 2
rgba: 0
m_Width: 0
m_Length: 0
m_Opacity: 1
m_DashLength: 4
m_DotLength: 2
m_GapLength: 2
m_Symbol:
m_Show: 1
m_Type: 3
m_Size: 0
m_Gap: 0
m_Width: 0
m_Height: 0
m_Offset: {x: 0, y: 0}
m_Image: {fileID: 0}
m_ImageType: 0
m_Color:
serializedVersion: 2
rgba: 0
m_BorderWidth: 0
m_EmptyColor:
serializedVersion: 2
rgba: 0
m_Size2: 0
m_SizeType: 0
m_DataIndex: 1
m_DataScale: 1
m_StartIndex: 0
m_Interval: 0
m_ForceShowLast: 0
m_Repeat: 0
m_MinSize: 0
m_MaxSize: 0
m_Animation:
m_Enable: 1
m_Type: 0
m_Easting: 0
m_Threshold: 2000
m_UnscaledTime: 0
m_FadeIn:
m_Enable: 1
m_Reverse: 0
m_Delay: 0
m_Duration: 1000
m_Speed: 0
m_FadeOut:
m_Enable: 1
m_Reverse: 1
m_Delay: 0
m_Duration: 1000
m_Speed: 0
m_Change:
m_Enable: 1
m_Reverse: 0
m_Delay: 0
m_Duration: 500
m_Speed: 0
m_Addition:
m_Enable: 1
m_Reverse: 0
m_Delay: 0
m_Duration: 500
m_Speed: 0
m_Hiding:
m_Enable: 1
m_Reverse: 0
m_Delay: 0
m_Duration: 500
m_Speed: 0
m_Interaction:
m_Enable: 1
m_Reverse: 0
m_Delay: 0
m_Duration: 250
m_Speed: 0
m_Width:
m_Type: 0
m_Value: 1.1
m_Radius:
m_Type: 0
m_Value: 1.1
m_Offset:
m_Type: 1
m_Value: 5
m_ItemStyle:
m_Show: 1
m_Color:
serializedVersion: 2
rgba: 0
m_Color0:
serializedVersion: 2
rgba: 0
m_ToColor:
serializedVersion: 2
rgba: 0
m_ToColor2:
serializedVersion: 2
rgba: 0
m_MarkColor:
serializedVersion: 2
rgba: 0
m_BackgroundColor:
serializedVersion: 2
rgba: 0
m_BackgroundWidth: 0
m_CenterColor:
serializedVersion: 2
rgba: 0
m_CenterGap: 0
m_BorderWidth: 0
m_BorderGap: 0
m_BorderColor:
serializedVersion: 2
rgba: 0
m_BorderColor0:
serializedVersion: 2
rgba: 0
m_BorderToColor:
serializedVersion: 2
rgba: 0
m_Opacity: 1
m_ItemMarker:
m_ItemFormatter:
m_NumericFormatter:
m_CornerRadius:
- 0
- 0
- 0
- 0
m_Data: []
m_Links: []
m_Labels: []
m_LabelLines: []
m_EndLabels: []
m_LineArrows: []
m_AreaStyles: []
m_TitleStyles: []
m_EmphasisStyles: []
m_BlurStyles: []
m_SelectStyles: []
Text: {fileID: 5493124275853578135}
--- !u!1 &5233865049350209622
GameObject:
m_ObjectHideFlags: 0
@ -5823,11 +6129,11 @@ RectTransform:
m_Father: {fileID: 5233865049602923319}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 2, y: -0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 2, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5233865049531012862
CanvasRenderer:
m_ObjectHideFlags: 0
@ -5863,7 +6169,7 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 0
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
@ -6267,11 +6573,11 @@ RectTransform:
m_Father: {fileID: 5233865049160592566}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 450.484, y: -232.13}
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: 0, y: 0}
m_Pivot: {x: 0, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5233865049602923313
CanvasRenderer:
m_ObjectHideFlags: 0
@ -7491,11 +7797,11 @@ RectTransform:
m_Father: {fileID: 5233865049160592566}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 450.484, y: -232.13}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -450.484, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &5233865049873455251
CanvasRenderer:
m_ObjectHideFlags: 0
@ -9811,6 +10117,141 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 900.968, y: 464.26}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &7084562124950557734
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7715289980915207216}
- component: {fileID: 5976580334859912762}
- component: {fileID: 5493124275853578135}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7715289980915207216
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7084562124950557734}
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: 6058520776610032133}
m_RootOrder: 0
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: -1.6904, y: -0.4894}
m_SizeDelta: {x: 882.7336, y: 50.9792}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5976580334859912762
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7084562124950557734}
m_CullTransparentMesh: 1
--- !u!114 &5493124275853578135
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7084562124950557734}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 3cee325aec3da104caa0494ae88f026d, type: 2}
m_sharedMaterial: {fileID: 1716905042458031195, guid: 3cee325aec3da104caa0494ae88f026d, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &7853188093099217572
GameObject:
m_ObjectHideFlags: 0

View File

@ -254,6 +254,11 @@ MeshCollider:
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 3680687292192122401, guid: b11e3115ad4164947957f5e35d5527cf, type: 3}
--- !u!1 &44895514 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 9004370409811518768, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
m_PrefabInstance: {fileID: 1045066281}
m_PrefabAsset: {fileID: 0}
--- !u!1 &67715185
GameObject:
m_ObjectHideFlags: 0
@ -722,6 +727,7 @@ MonoBehaviour:
- {fileID: 601978073058571682}
- {fileID: 229573283299024619}
- {fileID: 4824165716070450316}
Lights: {fileID: 44895514}
--- !u!114 &140014612
MonoBehaviour:
m_ObjectHideFlags: 0
@ -2893,6 +2899,38 @@ Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
m_PrefabInstance: {fileID: 623316365}
m_PrefabAsset: {fileID: 0}
--- !u!1 &648595003 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4893089734949076266, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
m_PrefabInstance: {fileID: 1045066281}
m_PrefabAsset: {fileID: 0}
--- !u!114 &648595005
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 648595003}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6282401d280c18d488e073bf54edbc11, type: 3}
m_Name:
m_EditorClassIdentifier:
interfaceType: 47
IsNotLine: 1
--- !u!65 &648595008
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 648595003}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 4.981102, y: 1.194273, z: 1.7531409}
m_Center: {x: 0.000014543533, y: 0.0000038146973, z: 0.30867124}
--- !u!1 &696718207
GameObject:
m_ObjectHideFlags: 0
@ -4174,6 +4212,14 @@ PrefabInstance:
propertyPath: m_Layer
value: 6
objectReference: {fileID: 0}
- target: {fileID: -1424433491013760703, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
propertyPath: m_Name
value: "\u5F00\u5173"
objectReference: {fileID: 0}
- target: {fileID: -1424433491013760703, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
propertyPath: m_Layer
value: 6
objectReference: {fileID: 0}
- target: {fileID: 6501468878996255, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
propertyPath: m_Layer
value: 6
@ -4186,6 +4232,14 @@ PrefabInstance:
propertyPath: m_Layer
value: 6
objectReference: {fileID: 0}
- target: {fileID: 4893089734949076266, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
propertyPath: m_Name
value: "\u95F8"
objectReference: {fileID: 0}
- target: {fileID: 4893089734949076266, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
propertyPath: m_Layer
value: 6
objectReference: {fileID: 0}
- target: {fileID: 6073914910648615971, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
propertyPath: m_Layer
value: 6
@ -7789,6 +7843,38 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2104018438}
m_CullTransparentMesh: 1
--- !u!1 &2112379056 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: -1424433491013760703, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3}
m_PrefabInstance: {fileID: 1045066281}
m_PrefabAsset: {fileID: 0}
--- !u!114 &2112379058
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2112379056}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6282401d280c18d488e073bf54edbc11, type: 3}
m_Name:
m_EditorClassIdentifier:
interfaceType: 46
IsNotLine: 1
--- !u!65 &2112379061
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2112379056}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1.3566818, y: 2.694641, z: 0.7312341}
m_Center: {x: -0.000015258789, y: 0.0000076293945, z: 0.1827243}
--- !u!1 &2117199854
GameObject:
m_ObjectHideFlags: 0
@ -15915,7 +16001,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &5233865050206664074
RectTransform:
m_ObjectHideFlags: 0
@ -19269,6 +19355,7 @@ MonoBehaviour:
m_EmphasisStyles: []
m_BlurStyles: []
m_SelectStyles: []
Text: {fileID: 0}
--- !u!4 &5525268028649849340
Transform:
m_ObjectHideFlags: 0

View File

@ -50,7 +50,9 @@ public enum InterfaceType
ת»»°å,
III,
AD1,
AD2
AD2,
,
}
public class LineConnect : MonoBehaviour
{

View File

@ -6,7 +6,6 @@ using System.Collections.Generic;
using System.Drawing;
using TMPro;
using UnityEngine;
using UnityEngine.Tilemaps;
public class LineManager : MonoBehaviour
{
@ -17,6 +16,7 @@ public class LineManager : MonoBehaviour
public TextMeshProUGUI TipTexts;
public List<GameObject> Models = new List<GameObject>();
LineData lineData = new LineData();
public GameObject Lights;
private void Awake()
{
instance = this;
@ -93,8 +93,33 @@ public class LineManager : MonoBehaviour
}
point.DOLocalMove(new Vector3(-0.56f, -0.293f, -0.163f), 0.5f);
}
}
if (point.name.Equals("¿ª¹Ø"))
{
//if (!lineData.Modelname.Contains(point.name))
//{
// allline++;
// lineData.Modelname.Add(point.name);
// string json = JsonConvert.SerializeObject(lineData);
// PlayerPrefs.SetString("LineData", json);
//}
point.DORotateQuaternion(Quaternion.Euler(-17f, 0, 0), 0.5f);
}
if (point.name.Equals("Õ¢"))
{
//if (!lineData.Modelname.Contains(point.name))
//{
// allline++;
// lineData.Modelname.Add(point.name);
// string json = JsonConvert.SerializeObject(lineData);
// PlayerPrefs.SetString("LineData", json);
//}
Material material = Lights.GetComponent<MeshRenderer>().material;
material.EnableKeyword("_EMISSION");
material.color = UnityEngine.Color.red;
point.DORotateQuaternion(Quaternion.Euler(-50f, 0, 0), 0.5f);
}
}
public IEnumerator Checkconnection(Transform transform, Transform transform2)
{

View File

@ -260,6 +260,8 @@ public class LineShowModel : MonoBehaviour
}
void HandleColliderClick(GameObject colliderObject, Vector3 hitPoint)
{
if (colliderObject.GetComponent<LineConnect>().IsNotLine != true)
{
switch (currentState)
{
@ -274,6 +276,7 @@ public class LineShowModel : MonoBehaviour
break;
}
}
}
void StartNewWire(GameObject startCollider)
{

View File

@ -1,6 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using XCharts.Runtime;
@ -12,6 +13,9 @@ public class ChartControl : MonoBehaviour
List<string> data = new List<string>();
bool isclick = true;//是否可以开始添加新数据
public TextMeshProUGUI Text;
private void Awake()
{
serie = chart.GetSerie<Serie>();
@ -20,7 +24,7 @@ public class ChartControl : MonoBehaviour
{
Debug.Log("数据:" + serie.context.pointerItemDataIndex);
if (serie.context.pointerItemDataIndex > 0 && isclick)
if (serie.context.pointerItemDataIndex >= 0 && isclick)
{
SerieData series = chart.GetSerie("数据").GetSerieData(serie.context.pointerItemDataIndex);
Debug.Log("鼠标点击的数据:" + series.data[1]);
@ -38,6 +42,7 @@ public class ChartControl : MonoBehaviour
string[] str1 = data[0].Split('|');
string[] str2 = data[1].Split('|');
Text.text = str1[0] + "" + str1[1] + "和" + str2[0] + "" + str2[1] + "的差值为:" + MathF.Abs(float.Parse(str1[1]) - float.Parse(str2[1]));
Debug.Log(str1[0] + "" + str1[1] + "和" + str2[0] + "" + str2[1] + "的差值为:" + MathF.Abs(float.Parse(str1[1]) - float.Parse(str2[1])));
data = new List<string>();
isclick = false;

File diff suppressed because one or more lines are too long