暂时屏蔽执行逻辑
This commit is contained in:
parent
2818818f03
commit
c25830a670
@ -16,7 +16,7 @@ namespace QFramework.Example
|
||||
public Vector3 normalRot;
|
||||
public float nearTime;
|
||||
public float normalTime;
|
||||
public bool isNear = false;
|
||||
public bool isNear;
|
||||
|
||||
}
|
||||
public partial class UICameraSwitch : UIPanel
|
||||
@ -60,30 +60,28 @@ namespace QFramework.Example
|
||||
mData = uiData as UICameraSwitchData ?? new UICameraSwitchData();
|
||||
|
||||
|
||||
|
||||
|
||||
if (mData.isNear)
|
||||
{
|
||||
if (Near.isOn == false)
|
||||
{
|
||||
Near.isOn = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
SetNear();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Far.isOn == false)
|
||||
{
|
||||
Far.isOn = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
SetNormal();
|
||||
}
|
||||
}
|
||||
//if (mData.isNear)
|
||||
//{
|
||||
// if (Near.isOn == false)
|
||||
// {
|
||||
// Near.isOn = true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// SetNear();
|
||||
// }
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// if (Far.isOn == false)
|
||||
// {
|
||||
// Far.isOn = true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// SetNormal();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user