隐藏帮助按钮和收藏按钮
This commit is contained in:
parent
6b36d58a47
commit
ce6412afb8
@ -2648,7 +2648,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
m_AnchorMax: {x: 0, y: 0.5}
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 78.2, y: -218.5}
|
m_AnchoredPosition: {x: 78.2, y: -218.5}
|
||||||
m_SizeDelta: {x: 110, y: 478}
|
m_SizeDelta: {x: 110, y: 425.2936}
|
||||||
m_Pivot: {x: 0.49999964, y: 0.0000000121071935}
|
m_Pivot: {x: 0.49999964, y: 0.0000000121071935}
|
||||||
--- !u!222 &4610696393774473950
|
--- !u!222 &4610696393774473950
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -5690,7 +5690,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &2899870530208733792
|
--- !u!224 &2899870530208733792
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -6027,18 +6027,19 @@ MonoBehaviour:
|
|||||||
PicBtn: {fileID: 7355533366755456900}
|
PicBtn: {fileID: 7355533366755456900}
|
||||||
BgBtn: {fileID: 6782086177789542834}
|
BgBtn: {fileID: 6782086177789542834}
|
||||||
LikeBtn: {fileID: 509066767672172492}
|
LikeBtn: {fileID: 509066767672172492}
|
||||||
|
HideAll: {fileID: 7062404923007037839}
|
||||||
BgSelect: {fileID: 8495941726259502085}
|
BgSelect: {fileID: 8495941726259502085}
|
||||||
White: {fileID: 3385460087621993111}
|
White: {fileID: 3385460087621993111}
|
||||||
Black: {fileID: 6843517907583295136}
|
Black: {fileID: 6843517907583295136}
|
||||||
Grey: {fileID: 8664323365780676703}
|
Grey: {fileID: 8664323365780676703}
|
||||||
Gradient: {fileID: 8764276824174293146}
|
Gradient: {fileID: 8764276824174293146}
|
||||||
HideAll: {fileID: 7062404923007037839}
|
|
||||||
RightContent: {fileID: 7012541589931891369}
|
RightContent: {fileID: 7012541589931891369}
|
||||||
BodyList: {fileID: 7473498730775191750}
|
BodyList: {fileID: 7473498730775191750}
|
||||||
BodyContent: {fileID: 8535905247929421360}
|
BodyContent: {fileID: 8535905247929421360}
|
||||||
MenuBtn: {fileID: 8217181496106074158}
|
MenuBtn: {fileID: 8217181496106074158}
|
||||||
CloseBtn: {fileID: 3816761972491639292}
|
CloseBtn: {fileID: 3816761972491639292}
|
||||||
TitleName: {fileID: 4753662552052665936}
|
TitleName: {fileID: 4753662552052665936}
|
||||||
|
RightBottom: {fileID: 33484139944297363}
|
||||||
RotMode: {fileID: 7963581892213722852}
|
RotMode: {fileID: 7963581892213722852}
|
||||||
LineMode: {fileID: 8644876331141729179}
|
LineMode: {fileID: 8644876331141729179}
|
||||||
LockMode: {fileID: 1364993364087250846}
|
LockMode: {fileID: 1364993364087250846}
|
||||||
@ -7509,7 +7510,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &7255839356631455979
|
--- !u!224 &7255839356631455979
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -7526,9 +7527,9 @@ RectTransform:
|
|||||||
- {fileID: 6722878613584790130}
|
- {fileID: 6722878613584790130}
|
||||||
m_Father: {fileID: 755010573038241708}
|
m_Father: {fileID: 755010573038241708}
|
||||||
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: 1}
|
||||||
m_AnchorMax: {x: 0, y: 0}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 35, y: -370.40002}
|
||||||
m_SizeDelta: {x: 52, y: 52}
|
m_SizeDelta: {x: 52, y: 52}
|
||||||
m_Pivot: {x: 0.5, y: 1}
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
--- !u!222 &3289308654276258587
|
--- !u!222 &3289308654276258587
|
||||||
@ -10842,6 +10843,8 @@ GameObject:
|
|||||||
- component: {fileID: 8889153922550987783}
|
- component: {fileID: 8889153922550987783}
|
||||||
- component: {fileID: 33484139944297363}
|
- component: {fileID: 33484139944297363}
|
||||||
- component: {fileID: 2081395510182911578}
|
- component: {fileID: 2081395510182911578}
|
||||||
|
- component: {fileID: 8123229884452079384}
|
||||||
|
- component: {fileID: 7611722453853550742}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: RightBottom
|
m_Name: RightBottom
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -10869,8 +10872,8 @@ RectTransform:
|
|||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 1, y: 0}
|
m_AnchorMin: {x: 1, y: 0}
|
||||||
m_AnchorMax: {x: 1, y: 0}
|
m_AnchorMax: {x: 1, y: 0}
|
||||||
m_AnchoredPosition: {x: -19.5, y: 46.1}
|
m_AnchoredPosition: {x: -19.5, y: 46.100006}
|
||||||
m_SizeDelta: {x: 460, y: 52}
|
m_SizeDelta: {x: 385.4182, y: 52}
|
||||||
m_Pivot: {x: 1.0000001, y: 0.4999998}
|
m_Pivot: {x: 1.0000001, y: 0.4999998}
|
||||||
--- !u!222 &8889153922550987783
|
--- !u!222 &8889153922550987783
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -10936,6 +10939,130 @@ MonoBehaviour:
|
|||||||
m_ChildScaleWidth: 0
|
m_ChildScaleWidth: 0
|
||||||
m_ChildScaleHeight: 0
|
m_ChildScaleHeight: 0
|
||||||
m_ReverseArrangement: 0
|
m_ReverseArrangement: 0
|
||||||
|
--- !u!114 &8123229884452079384
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8498749760227293931}
|
||||||
|
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: 6
|
||||||
|
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: 7288756047650164559}
|
||||||
|
animationType: 1
|
||||||
|
targetType: 5
|
||||||
|
forcedTargetType: 0
|
||||||
|
autoPlay: 0
|
||||||
|
useTargetAsV3: 0
|
||||||
|
endValueFloat: 0
|
||||||
|
endValueV3: {x: 450, y: 46, 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!114 &7611722453853550742
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8498749760227293931}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 0d51f3a7c41ab0346b49ae50d456bece, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
MarkType: 0
|
||||||
|
CustomComponentName:
|
||||||
|
CustomComment:
|
||||||
|
mComponentName: UnityEngine.UI.Image
|
||||||
--- !u!1 &8530701362379009178
|
--- !u!1 &8530701362379009178
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
11
Assets/Scripts/UI/UIBody3D.Designer.cs
generated
11
Assets/Scripts/UI/UIBody3D.Designer.cs
generated
@ -5,7 +5,7 @@ using QFramework;
|
|||||||
|
|
||||||
namespace QFramework.Example
|
namespace QFramework.Example
|
||||||
{
|
{
|
||||||
// Generate Id:3d26edd2-71c3-4899-bb23-6674108be2c7
|
// Generate Id:1321b2ec-18de-4df0-aa60-42b84a8c6e49
|
||||||
public partial class UIBody3D
|
public partial class UIBody3D
|
||||||
{
|
{
|
||||||
public const string Name = "UIBody3D";
|
public const string Name = "UIBody3D";
|
||||||
@ -35,6 +35,8 @@ namespace QFramework.Example
|
|||||||
[SerializeField]
|
[SerializeField]
|
||||||
public UnityEngine.UI.Button LikeBtn;
|
public UnityEngine.UI.Button LikeBtn;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
|
public UnityEngine.UI.Toggle HideAll;
|
||||||
|
[SerializeField]
|
||||||
public UnityEngine.UI.Image BgSelect;
|
public UnityEngine.UI.Image BgSelect;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
public UnityEngine.UI.Toggle White;
|
public UnityEngine.UI.Toggle White;
|
||||||
@ -45,8 +47,6 @@ namespace QFramework.Example
|
|||||||
[SerializeField]
|
[SerializeField]
|
||||||
public UnityEngine.UI.Toggle Gradient;
|
public UnityEngine.UI.Toggle Gradient;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
public UnityEngine.UI.Toggle HideAll;
|
|
||||||
[SerializeField]
|
|
||||||
public RectTransform RightContent;
|
public RectTransform RightContent;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
public RectTransform BodyList;
|
public RectTransform BodyList;
|
||||||
@ -59,6 +59,8 @@ namespace QFramework.Example
|
|||||||
[SerializeField]
|
[SerializeField]
|
||||||
public TMPro.TextMeshProUGUI TitleName;
|
public TMPro.TextMeshProUGUI TitleName;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
|
public UnityEngine.UI.Image RightBottom;
|
||||||
|
[SerializeField]
|
||||||
public UnityEngine.UI.Toggle RotMode;
|
public UnityEngine.UI.Toggle RotMode;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
public UnityEngine.UI.Toggle LineMode;
|
public UnityEngine.UI.Toggle LineMode;
|
||||||
@ -87,18 +89,19 @@ namespace QFramework.Example
|
|||||||
PicBtn = null;
|
PicBtn = null;
|
||||||
BgBtn = null;
|
BgBtn = null;
|
||||||
LikeBtn = null;
|
LikeBtn = null;
|
||||||
|
HideAll = null;
|
||||||
BgSelect = null;
|
BgSelect = null;
|
||||||
White = null;
|
White = null;
|
||||||
Black = null;
|
Black = null;
|
||||||
Grey = null;
|
Grey = null;
|
||||||
Gradient = null;
|
Gradient = null;
|
||||||
HideAll = null;
|
|
||||||
RightContent = null;
|
RightContent = null;
|
||||||
BodyList = null;
|
BodyList = null;
|
||||||
BodyContent = null;
|
BodyContent = null;
|
||||||
MenuBtn = null;
|
MenuBtn = null;
|
||||||
CloseBtn = null;
|
CloseBtn = null;
|
||||||
TitleName = null;
|
TitleName = null;
|
||||||
|
RightBottom = null;
|
||||||
RotMode = null;
|
RotMode = null;
|
||||||
LineMode = null;
|
LineMode = null;
|
||||||
LockMode = null;
|
LockMode = null;
|
||||||
|
|||||||
@ -127,6 +127,7 @@ namespace QFramework.Example
|
|||||||
HideAll.transform.SetAsFirstSibling();
|
HideAll.transform.SetAsFirstSibling();
|
||||||
});
|
});
|
||||||
RightContent.GetComponent<DOTweenAnimation>().DORestart();
|
RightContent.GetComponent<DOTweenAnimation>().DORestart();
|
||||||
|
RightBottom.GetComponent<DOTweenAnimation>().DORestart();
|
||||||
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "ÏÔʾ";
|
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "ÏÔʾ";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -139,6 +140,7 @@ namespace QFramework.Example
|
|||||||
LeftBg.GetComponent<Mask>().enabled = false;
|
LeftBg.GetComponent<Mask>().enabled = false;
|
||||||
});
|
});
|
||||||
RightContent.GetComponent<DOTweenAnimation>().DOPlayBackwards();
|
RightContent.GetComponent<DOTweenAnimation>().DOPlayBackwards();
|
||||||
|
RightBottom.GetComponent<DOTweenAnimation>().DOPlayBackwards();
|
||||||
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "Òþ²Ø";
|
HideAll.transform.Find("Label").GetComponent<TextMeshProUGUI>().text = "Òþ²Ø";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user