载具详情属性按钮
parent
c623f9f9b2
commit
9c041fa9e4
|
|
@ -83,8 +83,8 @@ public partial class UIManager
|
|||
_WindowMeta(UINameConst.UI_VehicleCultivate, UIWindowLayer.Normal, UIOpenType.FullScreen, false, true);
|
||||
_WindowMeta(UINameConst.UI_VehicleCultivateNew, UIWindowLayer.Normal, UIOpenType.FullScreen, true, true);
|
||||
_WindowMeta(UINameConst.UI_VehicleCultivatePro, UIWindowLayer.Normal, UIOpenType.FullScreen, true, true);
|
||||
_WindowMeta(UINameConst.UI_VehicleTechTree, UIWindowLayer.Normal, UIOpenType.FullScreen, false, true);
|
||||
_WindowMeta(UINameConst.UI_VehiclePartTree, UIWindowLayer.Normal, UIOpenType.FullScreen, false, true);
|
||||
_WindowMeta(UINameConst.UI_VehicleTechTree, UIWindowLayer.Normal, UIOpenType.FullScreen, false);
|
||||
_WindowMeta(UINameConst.UI_VehiclePartTree, UIWindowLayer.Normal, UIOpenType.FullScreen, false);
|
||||
_WindowMeta(UINameConst.UI_VehicleSkin, UIWindowLayer.Normal, UIOpenType.FullScreen, true, true);
|
||||
_WindowMeta(UINameConst.UI_VehiclePartTreeDetail, UIWindowLayer.Normal, UIOpenType.Pop, true);
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ public class UI_VehiclePartTreeDetailController : UIWindow
|
|||
|
||||
|
||||
private long ID;
|
||||
private bool EnterPartTree;
|
||||
//private bool EnterPartTree;
|
||||
private Action m_ReleaseCallback;
|
||||
|
||||
class InitData
|
||||
|
|
@ -112,7 +112,6 @@ public class UI_VehiclePartTreeDetailController : UIWindow
|
|||
{
|
||||
var input = data as InitData;
|
||||
ID = input.ID;
|
||||
EnterPartTree = input.EnterPartTree;
|
||||
m_ReleaseCallback = input.callback;
|
||||
DebugUtil.Log("Vehicle Part Tree Detail ID: " + ID);
|
||||
}
|
||||
|
|
@ -123,7 +122,6 @@ public class UI_VehiclePartTreeDetailController : UIWindow
|
|||
//bind UI GameObj
|
||||
UI_VehiclePartTreeDetailBinder.GetComponents(this);
|
||||
|
||||
Button_Check.gameObject.SetActive(EnterPartTree);
|
||||
BindButton(Button_Check, OnCheckButtonClick);
|
||||
|
||||
bool canUpgrade = false; // = Actor.Instance.Character.GetVehicleDevelopment(ID);
|
||||
|
|
@ -191,8 +189,9 @@ public class UI_VehiclePartTreeDetailController : UIWindow
|
|||
|
||||
void OnCheckButtonClick()
|
||||
{
|
||||
CloseWindow();
|
||||
UI_VehiclePartTreeController.Open(ID).Forget();
|
||||
//CloseWindow();
|
||||
//UI_VehiclePartTreeController.Open(ID).Forget();
|
||||
DebugUtil.Log("查看详细属性");
|
||||
}
|
||||
|
||||
async void SetVehicleData(VehicleCultivateData data, DataVehicleComponent config = null)
|
||||
|
|
|
|||
Loading…
Reference in New Issue