Merge branch '3DBody' of http://git.zxkedu.com:33769/JiNan/VirtualFramework into 3DBody
This commit is contained in:
commit
44035d5262
@ -496,6 +496,7 @@ RectTransform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 525842453583727716}
|
||||||
- {fileID: 7125848699854436635}
|
- {fileID: 7125848699854436635}
|
||||||
m_Father: {fileID: 755010573038241708}
|
m_Father: {fileID: 755010573038241708}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@ -532,7 +533,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: 21300000, guid: 591c41626b3c40049b45b9c887893684, type: 3}
|
m_Sprite: {fileID: 21300000, guid: 211b53c2cb3aa6b4cb50f18ae2796465, type: 3}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
@ -4776,6 +4777,82 @@ MonoBehaviour:
|
|||||||
m_hasFontAssetChanged: 0
|
m_hasFontAssetChanged: 0
|
||||||
m_baseMaterial: {fileID: 0}
|
m_baseMaterial: {fileID: 0}
|
||||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
--- !u!1 &3365386694799726991
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 525842453583727716}
|
||||||
|
- component: {fileID: 7034515135367308003}
|
||||||
|
- component: {fileID: 2652667528871894338}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: High
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 0
|
||||||
|
--- !u!224 &525842453583727716
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3365386694799726991}
|
||||||
|
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: 3806297745056633140}
|
||||||
|
m_Father: {fileID: 3192990638122548755}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 90, y: 42}
|
||||||
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
|
--- !u!222 &7034515135367308003
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3365386694799726991}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &2652667528871894338
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3365386694799726991}
|
||||||
|
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: 0
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 2fa24d6664024b342a35c5fb5e7f9843, type: 3}
|
||||||
|
m_Type: 1
|
||||||
|
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 &3374657125894741702
|
--- !u!1 &3374657125894741702
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -5607,6 +5684,81 @@ MonoBehaviour:
|
|||||||
m_FillOrigin: 0
|
m_FillOrigin: 0
|
||||||
m_UseSpriteMesh: 0
|
m_UseSpriteMesh: 0
|
||||||
m_PixelsPerUnitMultiplier: 1
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!1 &4065723111926894133
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 3806297745056633140}
|
||||||
|
- component: {fileID: 3531803610375541400}
|
||||||
|
- component: {fileID: 9074261777422782138}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &3806297745056633140
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4065723111926894133}
|
||||||
|
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: 525842453583727716}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 52, y: 52}
|
||||||
|
m_Pivot: {x: 0, y: 0.49999997}
|
||||||
|
--- !u!222 &3531803610375541400
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4065723111926894133}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &9074261777422782138
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4065723111926894133}
|
||||||
|
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: 0
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 40821b66a31d1fc40a15b6f434e487f9, 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 &4076795204144826265
|
--- !u!1 &4076795204144826265
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -8959,7 +9111,7 @@ MonoBehaviour:
|
|||||||
onValueChanged:
|
onValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_IsOn: 1
|
m_IsOn: 0
|
||||||
--- !u!1 &6676211856046294148
|
--- !u!1 &6676211856046294148
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@ -73,7 +73,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: -22}
|
m_AnchoredPosition: {x: 0, y: -22}
|
||||||
m_SizeDelta: {x: 54.01, y: 34}
|
m_SizeDelta: {x: 0, y: 34}
|
||||||
m_Pivot: {x: 0, y: 0.5}
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
--- !u!222 &5612155728787226803
|
--- !u!222 &5612155728787226803
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -4447,9 +4447,9 @@ RectTransform:
|
|||||||
- {fileID: 4460888939854281799}
|
- {fileID: 4460888939854281799}
|
||||||
m_Father: {fileID: 9173910592677138117}
|
m_Father: {fileID: 9173910592677138117}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
m_AnchoredPosition: {x: 59.01, y: -22}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 34}
|
m_SizeDelta: {x: 0, y: 34}
|
||||||
m_Pivot: {x: 0.00000007636845, y: 0.5}
|
m_Pivot: {x: 0.00000007636845, y: 0.5}
|
||||||
--- !u!1 &8390197820936015822
|
--- !u!1 &8390197820936015822
|
||||||
|
|||||||
@ -1,80 +1,5 @@
|
|||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!1 &435568366843394627
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 7503212725544534556}
|
|
||||||
- component: {fileID: 111412417819572624}
|
|
||||||
- component: {fileID: 2151844151933240927}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: temp
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 0
|
|
||||||
--- !u!224 &7503212725544534556
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 435568366843394627}
|
|
||||||
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: 8239230575637970371}
|
|
||||||
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!222 &111412417819572624
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 435568366843394627}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &2151844151933240927
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 435568366843394627}
|
|
||||||
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: 0.8156863}
|
|
||||||
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: 79c08d6abbc3e5b4d93756d5972f8459, 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 &438363884195299804
|
--- !u!1 &438363884195299804
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -1028,11 +953,11 @@ RectTransform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 8239230575637970371}
|
m_Father: {fileID: 2780512865034176281}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 712, y: 374.04}
|
m_AnchoredPosition: {x: -3, y: 374.04}
|
||||||
m_SizeDelta: {x: 32, y: 2}
|
m_SizeDelta: {x: 32, y: 2}
|
||||||
m_Pivot: {x: 0, y: 0.5}
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
--- !u!222 &1285110849480394043
|
--- !u!222 &1285110849480394043
|
||||||
@ -1275,11 +1200,11 @@ RectTransform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 8239230575637970371}
|
m_Father: {fileID: 2780512865034176281}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 659.93, y: 372.56}
|
m_AnchoredPosition: {x: -55.070007, y: 372.56}
|
||||||
m_SizeDelta: {x: 260, y: 1}
|
m_SizeDelta: {x: 260, y: 1}
|
||||||
m_Pivot: {x: 0, y: 0.5}
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
--- !u!222 &3335622323102402595
|
--- !u!222 &3335622323102402595
|
||||||
@ -1484,10 +1409,7 @@ RectTransform:
|
|||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 2780512865034176281}
|
- {fileID: 2780512865034176281}
|
||||||
- {fileID: 5296772743380432635}
|
|
||||||
- {fileID: 2058219366310914181}
|
|
||||||
- {fileID: 2765956842469010051}
|
- {fileID: 2765956842469010051}
|
||||||
- {fileID: 7503212725544534556}
|
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
@ -2647,6 +2569,7 @@ GameObject:
|
|||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 2780512865034176281}
|
- component: {fileID: 2780512865034176281}
|
||||||
- component: {fileID: 1546129111403102217}
|
- component: {fileID: 1546129111403102217}
|
||||||
|
- component: {fileID: 4641075730446385994}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: RootContent
|
m_Name: RootContent
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -2670,6 +2593,8 @@ RectTransform:
|
|||||||
- {fileID: 348112869011454683}
|
- {fileID: 348112869011454683}
|
||||||
- {fileID: 1108598377964087841}
|
- {fileID: 1108598377964087841}
|
||||||
- {fileID: 2362316407852543289}
|
- {fileID: 2362316407852543289}
|
||||||
|
- {fileID: 5296772743380432635}
|
||||||
|
- {fileID: 2058219366310914181}
|
||||||
m_Father: {fileID: 8239230575637970371}
|
m_Father: {fileID: 8239230575637970371}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 1, y: 0.5}
|
m_AnchorMin: {x: 1, y: 0.5}
|
||||||
@ -2693,6 +2618,114 @@ MonoBehaviour:
|
|||||||
CustomComponentName: RootContent
|
CustomComponentName: RootContent
|
||||||
CustomComment:
|
CustomComment:
|
||||||
mComponentName: RectTransform
|
mComponentName: RectTransform
|
||||||
|
--- !u!114 &4641075730446385994
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8197937570590596469}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4d0390bd8b8ffd640b34fe25065ff1df, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
updateType: 0
|
||||||
|
isSpeedBased: 0
|
||||||
|
hasOnStart: 0
|
||||||
|
hasOnPlay: 0
|
||||||
|
hasOnUpdate: 0
|
||||||
|
hasOnStepComplete: 0
|
||||||
|
hasOnComplete: 0
|
||||||
|
hasOnTweenCreated: 0
|
||||||
|
hasOnRewind: 0
|
||||||
|
onStart:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
onPlay:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
onUpdate:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
onStepComplete:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
onComplete:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
onTweenCreated:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
onRewind:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
targetIsSelf: 1
|
||||||
|
targetGO: {fileID: 0}
|
||||||
|
tweenTargetIsTargetGO: 1
|
||||||
|
delay: 0
|
||||||
|
duration: 0.3
|
||||||
|
easeType: 12
|
||||||
|
easeCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0
|
||||||
|
outWeight: 0
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
loopType: 0
|
||||||
|
loops: 1
|
||||||
|
id:
|
||||||
|
isRelative: 0
|
||||||
|
isFrom: 0
|
||||||
|
isIndependentUpdate: 0
|
||||||
|
autoKill: 0
|
||||||
|
autoGenerate: 1
|
||||||
|
isActive: 1
|
||||||
|
isValid: 1
|
||||||
|
target: {fileID: 2780512865034176281}
|
||||||
|
animationType: 1
|
||||||
|
targetType: 5
|
||||||
|
forcedTargetType: 0
|
||||||
|
autoPlay: 0
|
||||||
|
useTargetAsV3: 0
|
||||||
|
endValueFloat: 0
|
||||||
|
endValueV3: {x: 450, y: 0, z: 0}
|
||||||
|
endValueV2: {x: 0, y: 0}
|
||||||
|
endValueColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
endValueString:
|
||||||
|
endValueRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 0
|
||||||
|
height: 0
|
||||||
|
endValueTransform: {fileID: 0}
|
||||||
|
optionalBool0: 0
|
||||||
|
optionalBool1: 0
|
||||||
|
optionalFloat0: 0
|
||||||
|
optionalInt0: 0
|
||||||
|
optionalRotationMode: 0
|
||||||
|
optionalScrambleMode: 0
|
||||||
|
optionalShakeRandomnessMode: 0
|
||||||
|
optionalString:
|
||||||
--- !u!1 &8280112074671649668
|
--- !u!1 &8280112074671649668
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@ -271,81 +271,6 @@ MonoBehaviour:
|
|||||||
m_hasFontAssetChanged: 0
|
m_hasFontAssetChanged: 0
|
||||||
m_baseMaterial: {fileID: 0}
|
m_baseMaterial: {fileID: 0}
|
||||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
--- !u!1 &412908320554838416
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 7278440663883465532}
|
|
||||||
- component: {fileID: 4859354734233530742}
|
|
||||||
- component: {fileID: 8598899778490155455}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Temp
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 0
|
|
||||||
--- !u!224 &7278440663883465532
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 412908320554838416}
|
|
||||||
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: 5248266707218333243}
|
|
||||||
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!222 &4859354734233530742
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 412908320554838416}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &8598899778490155455
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 412908320554838416}
|
|
||||||
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: 0.4117647}
|
|
||||||
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: 074cc869ee40c5148b26753fe02c6aec, 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 &437928408945815704
|
--- !u!1 &437928408945815704
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -381,7 +306,6 @@ RectTransform:
|
|||||||
- {fileID: 7982209487117141860}
|
- {fileID: 7982209487117141860}
|
||||||
- {fileID: 8910459249382205206}
|
- {fileID: 8910459249382205206}
|
||||||
- {fileID: 2461520360039377224}
|
- {fileID: 2461520360039377224}
|
||||||
- {fileID: 7278440663883465532}
|
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
@ -401,7 +325,6 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: ec04d319ffe11bf449631785ba9df2ca, type: 3}
|
m_Script: {fileID: 11500000, guid: ec04d319ffe11bf449631785ba9df2ca, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
mask: {fileID: 2913638650655750658}
|
|
||||||
captureBGImg: {fileID: 1613795782999759057}
|
captureBGImg: {fileID: 1613795782999759057}
|
||||||
RawImg: {fileID: 3350589312635769069}
|
RawImg: {fileID: 3350589312635769069}
|
||||||
Content: {fileID: 6174875567737795578}
|
Content: {fileID: 6174875567737795578}
|
||||||
@ -436,7 +359,9 @@ MonoBehaviour:
|
|||||||
CirCleImg: {fileID: 2203796515819680784}
|
CirCleImg: {fileID: 2203796515819680784}
|
||||||
RectImg: {fileID: 1594643944354670706}
|
RectImg: {fileID: 1594643944354670706}
|
||||||
ColorArea: {fileID: 2022575599177353385}
|
ColorArea: {fileID: 2022575599177353385}
|
||||||
|
mask: {fileID: 2913638650655750658}
|
||||||
colorPicker: {fileID: 3336535175933943458}
|
colorPicker: {fileID: 3336535175933943458}
|
||||||
|
TempDraw: {fileID: 0}
|
||||||
--- !u!1 &572013391981846340
|
--- !u!1 &572013391981846340
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
BIN
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标 (1).png
Normal file
BIN
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标 (1).png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
179
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标 (1).png.meta
Normal file
179
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标 (1).png.meta
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 211b53c2cb3aa6b4cb50f18ae2796465
|
||||||
|
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:
|
||||||
BIN
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标.png
Normal file
BIN
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
179
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标.png.meta
Normal file
179
Assets/Art/UITextures/UIBody3D/左侧工具面板-鼠标.png.meta
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 40821b66a31d1fc40a15b6f434e487f9
|
||||||
|
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:
|
||||||
@ -213,6 +213,7 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
Line,
|
Line,
|
||||||
Rect,
|
Rect,
|
||||||
Circle,
|
Circle,
|
||||||
|
Arrow,
|
||||||
}
|
}
|
||||||
public EnterCaptureModeEvent EnterCaptureModeEvent
|
public EnterCaptureModeEvent EnterCaptureModeEvent
|
||||||
{
|
{
|
||||||
@ -620,6 +621,7 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
ChangeToEraser(this.status == Status.Eraser);
|
ChangeToEraser(this.status == Status.Eraser);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Vector2 lineStart = Vector2.zero;
|
||||||
private void OnPaintBeginDrag(BaseEventData arg0)
|
private void OnPaintBeginDrag(BaseEventData arg0)
|
||||||
{
|
{
|
||||||
if (_enabled && _haveRegion)
|
if (_enabled && _haveRegion)
|
||||||
@ -630,15 +632,15 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
break;
|
break;
|
||||||
case Status.Line:
|
case Status.Line:
|
||||||
|
|
||||||
if (Input.GetMouseButton(0))
|
if (_currentLine == null)
|
||||||
{
|
{
|
||||||
if (_currentLine == null)
|
_currentLine = new LineSegment(_paintBrushMat.GetColor("_Color"), _brushSize, _eraserFlag);
|
||||||
{
|
Graphics.Blit(_currentRenderTexture, _currentLine.Texture);
|
||||||
_currentLine = new LineSegment(_paintBrushMat.GetColor("_Color"), _brushSize, _eraserFlag);
|
|
||||||
}
|
|
||||||
LerpPaint(Input.mousePosition, _eraserFlag);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lineStart = Input.mousePosition;
|
||||||
|
_lastPoint = lineStart;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Status.Circle:
|
case Status.Circle:
|
||||||
@ -650,11 +652,14 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
break;
|
break;
|
||||||
case Status.Rect:
|
case Status.Rect:
|
||||||
_currentLine = new LineSegment(_paintBrushMat.GetColor("_Color"), _brushSize, _eraserFlag);
|
_currentLine = new LineSegment(_paintBrushMat.GetColor("_Color"), _brushSize, _eraserFlag);
|
||||||
|
Graphics.Blit(_currentRenderTexture, _currentLine.Texture);
|
||||||
_lastPoint = Input.mousePosition;
|
_lastPoint = Input.mousePosition;
|
||||||
//rectImg.gameObject.SetActive(true);
|
break;
|
||||||
// TODO: 这样会使UI位置有偏差 后续修改
|
case Status.Arrow:
|
||||||
//rectImg.transform.position = Input.mousePosition;
|
_currentLine = new LineSegment(_paintBrushMat.GetColor("_Color"), _brushSize, _eraserFlag);
|
||||||
isRect = true;
|
Graphics.Blit(_currentRenderTexture, _currentLine.Texture);
|
||||||
|
lineStart = Input.mousePosition;
|
||||||
|
_lastPoint = lineStart;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -679,13 +684,30 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
}
|
}
|
||||||
LerpPaint(Input.mousePosition, _eraserFlag);
|
LerpPaint(Input.mousePosition, _eraserFlag);
|
||||||
break;
|
break;
|
||||||
|
case Status.Line:
|
||||||
|
if (_lastPoint != default && Vector2.Distance(lineStart, Input.mousePosition) > 2f)
|
||||||
|
{
|
||||||
|
Graphics.Blit(_currentLine.Texture, _currentRenderTexture);
|
||||||
|
_paintCanvasImg.texture = _currentRenderTexture;
|
||||||
|
_lastPoint = lineStart;
|
||||||
|
Paint(_eraserFlag, lineStart);
|
||||||
|
LerpPaint(Input.mousePosition, _eraserFlag);
|
||||||
|
}
|
||||||
|
break;
|
||||||
case Status.Rect:
|
case Status.Rect:
|
||||||
|
Graphics.Blit(_currentLine.Texture, _currentRenderTexture);
|
||||||
|
_paintCanvasImg.texture = _currentRenderTexture;
|
||||||
|
RectFactory();
|
||||||
break;
|
break;
|
||||||
case Status.Circle:
|
case Status.Circle:
|
||||||
var dis = Vector2.Distance(_lastPoint, Input.mousePosition) * 2;
|
var dis = Vector2.Distance(_lastPoint, Input.mousePosition) * 2;
|
||||||
circleImg.rectTransform.sizeDelta = new Vector2(dis, dis);
|
circleImg.rectTransform.sizeDelta = new Vector2(dis, dis);
|
||||||
break;
|
break;
|
||||||
|
case Status.Arrow:
|
||||||
|
Graphics.Blit(_currentLine.Texture, _currentRenderTexture);
|
||||||
|
_paintCanvasImg.texture = _currentRenderTexture;
|
||||||
|
ArrowFactory();
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -709,15 +731,14 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
case Status.Line:
|
case Status.Line:
|
||||||
if (_currentLine != null)
|
if (_currentLine != null)
|
||||||
{
|
{
|
||||||
LerpPaint(Input.mousePosition, false);
|
|
||||||
|
|
||||||
FinishedRaw();
|
FinishedRaw();
|
||||||
|
lineStart = Vector2.zero;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Status.Rect:
|
case Status.Rect:
|
||||||
isRect = false;
|
if (_currentLine != null)
|
||||||
RectFactory();
|
FinishedRaw();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Status.Circle:
|
case Status.Circle:
|
||||||
@ -738,6 +759,13 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Status.Arrow:
|
||||||
|
if (_currentLine != null)
|
||||||
|
{
|
||||||
|
FinishedRaw();
|
||||||
|
lineStart = Vector2.zero;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -759,52 +787,6 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
_lastPoint = Vector2.zero;
|
_lastPoint = Vector2.zero;
|
||||||
|
|
||||||
}
|
}
|
||||||
bool isRect = false;
|
|
||||||
private void OnGUI()
|
|
||||||
{
|
|
||||||
if (isRect)
|
|
||||||
{
|
|
||||||
var points = GenerateRectanglePoints(_lastPoint, Input.mousePosition);
|
|
||||||
|
|
||||||
|
|
||||||
float minX = float.MaxValue;
|
|
||||||
float minY = float.MaxValue;
|
|
||||||
float maxX = float.MinValue;
|
|
||||||
float maxY = float.MinValue;
|
|
||||||
|
|
||||||
// 找出最小和最大的 x、y 坐标
|
|
||||||
foreach (Vector2 point in points)
|
|
||||||
{
|
|
||||||
if (point.x < minX)
|
|
||||||
{
|
|
||||||
minX = point.x;
|
|
||||||
}
|
|
||||||
if (point.x > maxX)
|
|
||||||
{
|
|
||||||
maxX = point.x;
|
|
||||||
}
|
|
||||||
if (point.y < minY)
|
|
||||||
{
|
|
||||||
minY = point.y;
|
|
||||||
}
|
|
||||||
if (point.y > maxY)
|
|
||||||
{
|
|
||||||
maxY = point.y;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
float x = minX;
|
|
||||||
float y = maxY;
|
|
||||||
float width = maxX - minX;
|
|
||||||
float height = maxY - minY;
|
|
||||||
|
|
||||||
Rect rect = new Rect(x, y, width, height);
|
|
||||||
|
|
||||||
GUI.backgroundColor = Color.blue;
|
|
||||||
GUI.color = Color.yellow;
|
|
||||||
GUI.Box(rect, "我帮你绘制了个 Rect Box");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
List<Vector2> GenerateCirclePoints(Vector2 center, float r, int numPoints = 36)
|
List<Vector2> GenerateCirclePoints(Vector2 center, float r, int numPoints = 36)
|
||||||
{
|
{
|
||||||
@ -825,14 +807,27 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (_lastPoint != default)
|
if (_lastPoint != default)
|
||||||
{
|
{
|
||||||
var points = GenerateRectanglePoints(_lastPoint, Input.mousePosition);
|
var rectPoints = GenerateRectanglePoints(_lastPoint, Input.mousePosition);
|
||||||
|
|
||||||
LerpPaint(points[0], false);
|
LerpPaint(rectPoints[0], false);
|
||||||
|
LerpPaint(rectPoints[1], false);
|
||||||
|
LerpPaint(rectPoints[2], false);
|
||||||
|
LerpPaint(rectPoints[3], false);
|
||||||
|
LerpPaint(rectPoints[0], false);
|
||||||
|
//FinishedRaw();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void ArrowFactory()
|
||||||
|
{
|
||||||
|
if (lineStart != default)
|
||||||
|
{
|
||||||
|
var points = GenerateArrowPoints(lineStart, Input.mousePosition,0.1f);
|
||||||
|
_lastPoint = lineStart;
|
||||||
|
Paint(_eraserFlag, lineStart);
|
||||||
|
LerpPaint(Input.mousePosition, _eraserFlag);
|
||||||
LerpPaint(points[1], false);
|
LerpPaint(points[1], false);
|
||||||
LerpPaint(points[2], false);
|
_lastPoint = Input.mousePosition;
|
||||||
LerpPaint(points[3], false);
|
LerpPaint(points[3], false);
|
||||||
LerpPaint(points[0], false);
|
|
||||||
FinishedRaw();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -878,6 +873,31 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public Vector2[] GenerateArrowPoints(Vector2 start, Vector2 end, float arrowWidth = 0.3f, float arrowHeadLength = 0.2f)
|
||||||
|
{
|
||||||
|
Vector2[] points = new Vector2[4];
|
||||||
|
|
||||||
|
// 计算方向向量
|
||||||
|
Vector2 direction = end - start;
|
||||||
|
float length = direction.magnitude;
|
||||||
|
Vector2 normalizedDir = direction.normalized;
|
||||||
|
|
||||||
|
// 计算箭头头部的基准点(箭头左右两侧点所在的位置)
|
||||||
|
Vector2 arrowBase = end - normalizedDir * length * arrowHeadLength;
|
||||||
|
|
||||||
|
// 计算垂直于方向的向量(用于确定箭头宽度)
|
||||||
|
Vector2 perpendicular = new Vector2(-normalizedDir.y, normalizedDir.x) * length * arrowWidth;
|
||||||
|
|
||||||
|
// 箭头四个点的位置
|
||||||
|
points[0] = start; // 箭尾
|
||||||
|
points[1] = arrowBase - perpendicular; // 箭头左侧点
|
||||||
|
points[2] = end; // 箭头顶点
|
||||||
|
points[3] = arrowBase + perpendicular; // 箭头右侧点
|
||||||
|
|
||||||
|
return points;
|
||||||
|
}
|
||||||
|
|
||||||
public void Clear()
|
public void Clear()
|
||||||
{
|
{
|
||||||
// 重新分配 RenderTexture
|
// 重新分配 RenderTexture
|
||||||
@ -890,6 +910,7 @@ public class ScreenShotPainter : MonoBehaviour
|
|||||||
_lineStack.Clear();
|
_lineStack.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void Undo()
|
public void Undo()
|
||||||
{
|
{
|
||||||
if (_lineStack.Count > 0)
|
if (_lineStack.Count > 0)
|
||||||
|
|||||||
@ -372,7 +372,7 @@ MonoBehaviour:
|
|||||||
m_Bits: 1
|
m_Bits: 1
|
||||||
m_VolumeTrigger: {fileID: 0}
|
m_VolumeTrigger: {fileID: 0}
|
||||||
m_VolumeFrameworkUpdateModeOption: 2
|
m_VolumeFrameworkUpdateModeOption: 2
|
||||||
m_RenderPostProcessing: 1
|
m_RenderPostProcessing: 0
|
||||||
m_Antialiasing: 0
|
m_Antialiasing: 0
|
||||||
m_AntialiasingQuality: 2
|
m_AntialiasingQuality: 2
|
||||||
m_StopNaN: 0
|
m_StopNaN: 0
|
||||||
|
|||||||
@ -59,3 +59,8 @@ public struct OnBody3DSelected
|
|||||||
public GameObject obj;
|
public GameObject obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public struct OnHideAll
|
||||||
|
{
|
||||||
|
public bool isHide;
|
||||||
|
}
|
||||||
|
|||||||
@ -130,6 +130,7 @@ namespace QFramework.Example
|
|||||||
RightContent.GetComponent<DOTweenAnimation>().DORestart();
|
RightContent.GetComponent<DOTweenAnimation>().DORestart();
|
||||||
RightBottom.GetComponent<DOTweenAnimation>().DORestart();
|
RightBottom.GetComponent<DOTweenAnimation>().DORestart();
|
||||||
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "ÏÔʾ";
|
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "ÏÔʾ";
|
||||||
|
TypeEventSystem.Global.Send<OnHideAll>(new OnHideAll() { isHide = true });
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -143,6 +144,7 @@ namespace QFramework.Example
|
|||||||
RightContent.GetComponent<DOTweenAnimation>().DOPlayBackwards();
|
RightContent.GetComponent<DOTweenAnimation>().DOPlayBackwards();
|
||||||
RightBottom.GetComponent<DOTweenAnimation>().DOPlayBackwards();
|
RightBottom.GetComponent<DOTweenAnimation>().DOPlayBackwards();
|
||||||
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "Òþ²Ø";
|
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "Òþ²Ø";
|
||||||
|
TypeEventSystem.Global.Send<OnHideAll>(new OnHideAll() { isHide = false });
|
||||||
}
|
}
|
||||||
|
|
||||||
CloseBtn.gameObject.SetActive(!isOn);
|
CloseBtn.gameObject.SetActive(!isOn);
|
||||||
|
|||||||
@ -36,18 +36,7 @@ namespace QFramework.Example
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Active.onValueChanged.AddListener(isOn =>
|
|
||||||
{
|
|
||||||
obj.SetActive(isOn);
|
|
||||||
if (isOn)
|
|
||||||
{
|
|
||||||
Active.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "Òþ²Ø";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Active.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "ÏÔʾ";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
Transparent.onValueChanged.AddListener(isOn =>
|
Transparent.onValueChanged.AddListener(isOn =>
|
||||||
{
|
{
|
||||||
@ -167,6 +156,25 @@ namespace QFramework.Example
|
|||||||
obj = Utility.FindObj(mData.body.Path);
|
obj = Utility.FindObj(mData.body.Path);
|
||||||
Des.text = mData.body.Tip;
|
Des.text = mData.body.Tip;
|
||||||
RefreshTipPath();
|
RefreshTipPath();
|
||||||
|
|
||||||
|
Active.onValueChanged.RemoveAllListeners();
|
||||||
|
Active.isOn = false;
|
||||||
|
Active.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "Òþ²Ø";
|
||||||
|
Active.onValueChanged.AddListener(isOn =>
|
||||||
|
{
|
||||||
|
obj.SetActive(!isOn);
|
||||||
|
if (isOn)
|
||||||
|
{
|
||||||
|
Body3DController.Instance.AddActiveObj(obj);
|
||||||
|
Active.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "ÏÔʾ";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Body3DController.Instance.PopActiveObj();
|
||||||
|
Active.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "Òþ²Ø";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ListItemFacotry(Body3D.Body body)
|
public void ListItemFacotry(Body3D.Body body)
|
||||||
|
|||||||
@ -201,12 +201,13 @@ namespace QFramework.Example
|
|||||||
Half,
|
Half,
|
||||||
Full
|
Full
|
||||||
}
|
}
|
||||||
//DOTweenAnimation contentAnim;
|
DOTweenAnimation contentAnim;
|
||||||
protected override void OnInit(IUIData uiData = null)
|
protected override void OnInit(IUIData uiData = null)
|
||||||
{
|
{
|
||||||
mData = uiData as UIBody3DMenuTreeData ?? new UIBody3DMenuTreeData();
|
mData = uiData as UIBody3DMenuTreeData ?? new UIBody3DMenuTreeData();
|
||||||
TypeEventSystem.Global.Register<OnModuleQuit>(OnModuleQuithandler).UnRegisterWhenGameObjectDestroyed(this);
|
TypeEventSystem.Global.Register<OnModuleQuit>(OnModuleQuithandler).UnRegisterWhenGameObjectDestroyed(this);
|
||||||
//contentAnim = RootContent.GetComponent<DOTweenAnimation>();
|
TypeEventSystem.Global.Register<OnHideAll>(OnHideAllhandler);
|
||||||
|
contentAnim = RootContent.GetComponent<DOTweenAnimation>();
|
||||||
// please add init code here
|
// please add init code here
|
||||||
Close.onClick.AddListener(() =>
|
Close.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
@ -236,6 +237,18 @@ namespace QFramework.Example
|
|||||||
BuildTreeUI(mData.body);
|
BuildTreeUI(mData.body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnHideAllhandler(OnHideAll all)
|
||||||
|
{
|
||||||
|
if (all.isHide)
|
||||||
|
{
|
||||||
|
contentAnim.DOPlayForward();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
contentAnim.DOPlayBackwards();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void OnModuleQuithandler(OnModuleQuit quit)
|
private void OnModuleQuithandler(OnModuleQuit quit)
|
||||||
{
|
{
|
||||||
Hide();
|
Hide();
|
||||||
@ -398,19 +411,7 @@ namespace QFramework.Example
|
|||||||
protected override void OnShow()
|
protected override void OnShow()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
//public override void Hide()
|
|
||||||
//{
|
|
||||||
// //if (contentAnim.onComplete == null)
|
|
||||||
// //{
|
|
||||||
// // contentAnim.onComplete = new UnityEngine.Events.UnityEvent();
|
|
||||||
// //}
|
|
||||||
// //contentAnim.onComplete.RemoveAllListeners();
|
|
||||||
// //contentAnim.DOPlayBackwards();
|
|
||||||
// //contentAnim.onComplete.AddListener(() =>
|
|
||||||
// //{
|
|
||||||
// // base.Hide();
|
|
||||||
// //});
|
|
||||||
//}
|
|
||||||
|
|
||||||
protected override void OnHide()
|
protected override void OnHide()
|
||||||
{
|
{
|
||||||
|
|||||||
11
Assets/Scripts/UI/UIDraw.Designer.cs
generated
11
Assets/Scripts/UI/UIDraw.Designer.cs
generated
@ -5,13 +5,11 @@ using QFramework;
|
|||||||
|
|
||||||
namespace QFramework.Example
|
namespace QFramework.Example
|
||||||
{
|
{
|
||||||
// Generate Id:c3372197-dece-4bdd-8b25-56df5c08aa5f
|
// Generate Id:b01e72d6-bd06-47a4-8be3-054bae1344f3
|
||||||
public partial class UIDraw
|
public partial class UIDraw
|
||||||
{
|
{
|
||||||
public const string Name = "UIDraw";
|
public const string Name = "UIDraw";
|
||||||
|
|
||||||
[SerializeField]
|
|
||||||
public UnityEngine.UI.Button mask;
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
public UnityEngine.UI.RawImage captureBGImg;
|
public UnityEngine.UI.RawImage captureBGImg;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
@ -81,13 +79,16 @@ namespace QFramework.Example
|
|||||||
[SerializeField]
|
[SerializeField]
|
||||||
public UnityEngine.UI.Image ColorArea;
|
public UnityEngine.UI.Image ColorArea;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
|
public UnityEngine.UI.Button mask;
|
||||||
|
[SerializeField]
|
||||||
public UnityEngine.UI.Image colorPicker;
|
public UnityEngine.UI.Image colorPicker;
|
||||||
|
[SerializeField]
|
||||||
|
public UnityEngine.UI.RawImage TempDraw;
|
||||||
|
|
||||||
private UIDrawData mPrivateData = null;
|
private UIDrawData mPrivateData = null;
|
||||||
|
|
||||||
protected override void ClearUIComponents()
|
protected override void ClearUIComponents()
|
||||||
{
|
{
|
||||||
mask = null;
|
|
||||||
captureBGImg = null;
|
captureBGImg = null;
|
||||||
RawImg = null;
|
RawImg = null;
|
||||||
Content = null;
|
Content = null;
|
||||||
@ -122,7 +123,9 @@ namespace QFramework.Example
|
|||||||
CirCleImg = null;
|
CirCleImg = null;
|
||||||
RectImg = null;
|
RectImg = null;
|
||||||
ColorArea = null;
|
ColorArea = null;
|
||||||
|
mask = null;
|
||||||
colorPicker = null;
|
colorPicker = null;
|
||||||
|
TempDraw = null;
|
||||||
|
|
||||||
mData = null;
|
mData = null;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -124,6 +124,15 @@ namespace QFramework.Example
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Arrow.onValueChanged.AddListener(isOn =>
|
||||||
|
{
|
||||||
|
if (isOn)
|
||||||
|
{
|
||||||
|
ScreenShotPainter.instance.SetStatus(ScreenShotPainter.Status.Arrow);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
ColorAreaBtn.onClick.AddListener(() =>
|
ColorAreaBtn.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
ColorArea.gameObject.SetActive(true);
|
ColorArea.gameObject.SetActive(true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user