战令预制体修改

xiejun 2023-11-11 15:03:03 +08:00
parent 3aabe8d438
commit d6c57eb391
3 changed files with 3238 additions and 1199 deletions

View File

@ -1,5 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4723716625960730691
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4187735534078877543}
- component: {fileID: 7758330978490898629}
- component: {fileID: 3641363373419806691}
m_Layer: 5
m_Name: titleName
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4187735534078877543
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4723716625960730691}
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_Children: []
m_Father: {fileID: 6897800647576352469}
m_RootOrder: 2
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: 3, y: 2803}
m_SizeDelta: {x: 296, y: 83}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7758330978490898629
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4723716625960730691}
m_CullTransparentMesh: 0
--- !u!114 &3641363373419806691
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4723716625960730691}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 21300000, guid: afa7d45f7e1f9f14b82fb4249712faf3, 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
--- !u!1001 &6897800647744942611
PrefabInstance:
m_ObjectHideFlags: 0
@ -95,18 +169,6 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 612307184, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_AnchoredPosition.y
value: -8.4
objectReference: {fileID: 0}
- target: {fileID: 612307184, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_SizeDelta.x
value: 459.7
objectReference: {fileID: 0}
- target: {fileID: 612307184, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_SizeDelta.y
value: 114.7
objectReference: {fileID: 0}
- target: {fileID: 95070899, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_TargetGraphic
value:
@ -115,56 +177,44 @@ PrefabInstance:
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 6897800648168237592}
- target: {fileID: 5003149817262781559, guid: 807c01db712c1334a813e0e22a3dcbc7,
- target: {fileID: 4721385739733905752, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 4887419972737081993}
- target: {fileID: 4621959944646165924, guid: 807c01db712c1334a813e0e22a3dcbc7,
objectReference: {fileID: 1687378032547700406}
- target: {fileID: 4200493410631193948, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_FontSize
value: 38
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_MaxSize
value: 45
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_Alignment
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_FontData.m_VerticalOverflow
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1195522480809803017, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_Text
value: "\u6FC0\u6D3B\u79D8\u5B9D\u53EF\u9886\u53D6\u989D\u5916\u5956\u52B1"
objectReference: {fileID: 0}
- target: {fileID: 1319037, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1890653196, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 6897800649098585630}
- target: {fileID: 4860869566930803435, guid: 807c01db712c1334a813e0e22a3dcbc7,
objectReference: {fileID: 7900525728416477116}
- target: {fileID: 3953935780905090465, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_Text
value: "\u5C42\u6570:"
objectReference: {fileID: 0}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 7594998066135306165}
- target: {fileID: 3953935780016440094, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 7594998065918750988}
- target: {fileID: 8094044665397829145, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 2979608106925288038}
- target: {fileID: 3953935781515120408, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
propertyPath: m_TargetGraphic
value:
objectReference: {fileID: 7594998066602687754}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 807c01db712c1334a813e0e22a3dcbc7, type: 3}
--- !u!224 &6897800647576352469 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 242517190, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
m_PrefabInstance: {fileID: 6897800647744942611}
m_PrefabAsset: {fileID: 0}
--- !u!114 &6897800647704402087 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 95070900, guid: 807c01db712c1334a813e0e22a3dcbc7,
@ -177,9 +227,9 @@ MonoBehaviour:
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &6897800649098585630 stripped
--- !u!114 &1687378032547700406 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1890653197, guid: 807c01db712c1334a813e0e22a3dcbc7,
m_CorrespondingSourceObject: {fileID: 5247586669901016229, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
m_PrefabInstance: {fileID: 6897800647744942611}
m_PrefabAsset: {fileID: 0}
@ -189,9 +239,9 @@ MonoBehaviour:
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &4887419972737081993 stripped
--- !u!114 &7900525728416477116 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 2047576208588099738, guid: 807c01db712c1334a813e0e22a3dcbc7,
m_CorrespondingSourceObject: {fileID: 3611226567399890351, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
m_PrefabInstance: {fileID: 6897800647744942611}
m_PrefabAsset: {fileID: 0}
@ -213,3 +263,51 @@ MonoBehaviour:
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7594998066135306165 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3953935780905090470, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
m_PrefabInstance: {fileID: 6897800647744942611}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7594998065918750988 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3953935780016440095, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
m_PrefabInstance: {fileID: 6897800647744942611}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &2979608106925288038 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 8565944269467818101, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
m_PrefabInstance: {fileID: 6897800647744942611}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &7594998066602687754 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 3953935781515120409, guid: 807c01db712c1334a813e0e22a3dcbc7,
type: 3}
m_PrefabInstance: {fileID: 6897800647744942611}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:

View File

@ -29,7 +29,7 @@ function GodsWayTreasurePanel:InitComponent()
this.btn_qmfl=Util.GetGameObject(this.transform, "bg/topBar/btn_qmfl")
this.btn_qmfl:GetComponent("Image").sprite=this.spLoader:LoadSprite("GM_qmfl_botton_zh")
--设置滚动条
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView,this.treasureList.transform,this.itemPre,nil,Vector2.New(950, 1000),1,1,Vector2.New(100, 25))
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView,this.treasureList.transform,this.itemPre,nil,Vector2.New(1011, 1133),1,1,Vector2.New(110, 25))
this.ScrollView.gameObject:GetComponent("RectTransform").anchoredPosition = Vector2.New(0, 0)
this.ScrollView.gameObject:GetComponent("RectTransform").anchorMin = Vector2.New(0.5, 0.5)
this.ScrollView.gameObject:GetComponent("RectTransform").anchorMax = Vector2.New(0.5, 0.5)