修改timeTip
This commit is contained in:
parent
84345fda5d
commit
f027737751
File diff suppressed because one or more lines are too long
@ -43,8 +43,11 @@ namespace QFramework.Example
|
||||
mData = uiData as UITimeTipData ?? new UITimeTipData();
|
||||
// please add init code here
|
||||
TypeEventSystem.Global.Register<OnModuleQuit>((arg) => Hide()).UnRegisterWhenGameObjectDestroyed(gameObject);
|
||||
|
||||
|
||||
transform.rotation = Quaternion.identity;
|
||||
transform.localRotation = Quaternion.identity;
|
||||
transform.eulerAngles = Vector3.zero;
|
||||
transform.localEulerAngles = Vector3.zero;
|
||||
|
||||
}
|
||||
|
||||
@ -77,8 +80,9 @@ namespace QFramework.Example
|
||||
protected override void OnOpen(IUIData uiData = null)
|
||||
{
|
||||
transform.rotation = Quaternion.identity;
|
||||
|
||||
|
||||
transform.localRotation = Quaternion.identity;
|
||||
transform.eulerAngles = Vector3.zero;
|
||||
transform.localEulerAngles = Vector3.zero;
|
||||
mData = uiData as UITimeTipData ?? new UITimeTipData();
|
||||
index = 0;
|
||||
isRun = true;
|
||||
@ -137,7 +141,10 @@ namespace QFramework.Example
|
||||
|
||||
protected override void OnShow()
|
||||
{
|
||||
|
||||
transform.rotation = Quaternion.identity;
|
||||
transform.localRotation = Quaternion.identity;
|
||||
transform.eulerAngles = Vector3.zero;
|
||||
transform.localEulerAngles = Vector3.zero;
|
||||
}
|
||||
|
||||
protected override void OnHide()
|
||||
@ -152,6 +159,10 @@ namespace QFramework.Example
|
||||
imgTwen.Kill();
|
||||
imgTwen = null;
|
||||
}
|
||||
transform.rotation = Quaternion.identity;
|
||||
transform.localRotation = Quaternion.identity;
|
||||
transform.eulerAngles = Vector3.zero;
|
||||
transform.localEulerAngles = Vector3.zero;
|
||||
}
|
||||
|
||||
protected override void OnClose()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user