移除配置
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
],
|
],
|
||||||
"ItemConfig": [
|
"ItemConfig": [
|
||||||
{
|
{
|
||||||
"Id": 30001,
|
"Id": 31001,
|
||||||
"Model": "rods/syberia/tele_10037/tele_10037_t13",
|
"Model": "rods/syberia/tele_10037/tele_10037_t13",
|
||||||
"Type": 1,
|
"Type": 1,
|
||||||
"Quality": 1,
|
"Quality": 1,
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
"Deal": 0
|
"Deal": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 30002,
|
"Id": 33002,
|
||||||
"Model": "rods/syberia/bolo_10021/bolo_10021_LB400",
|
"Model": "rods/syberia/bolo_10021/bolo_10021_LB400",
|
||||||
"Type": 0,
|
"Type": 0,
|
||||||
"Quality": 2,
|
"Quality": 2,
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"Deal": 0
|
"Deal": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 30003,
|
"Id": 32003,
|
||||||
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
||||||
"Type": 0,
|
"Type": 0,
|
||||||
"Quality": 3,
|
"Quality": 3,
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
"Deal": 0
|
"Deal": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 30004,
|
"Id": 32004,
|
||||||
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
||||||
"Type": 0,
|
"Type": 0,
|
||||||
"Quality": 4,
|
"Quality": 4,
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
"Deal": 0
|
"Deal": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 30005,
|
"Id": 32005,
|
||||||
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
||||||
"Type": 0,
|
"Type": 0,
|
||||||
"Quality": 5,
|
"Quality": 5,
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
"Deal": 0
|
"Deal": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 30006,
|
"Id": 32006,
|
||||||
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
||||||
"Type": 0,
|
"Type": 0,
|
||||||
"Quality": 4,
|
"Quality": 4,
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
"Deal": 0
|
"Deal": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Id": 30007,
|
"Id": 32007,
|
||||||
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
"Model": "rods/syberia/spin_10034/spin_10034_S60H",
|
||||||
"Type": 0,
|
"Type": 0,
|
||||||
"Quality": 3,
|
"Quality": 3,
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ namespace NBF
|
|||||||
|
|
||||||
protected override void OnHide()
|
protected override void OnHide()
|
||||||
{
|
{
|
||||||
|
Model.UnloadModel();
|
||||||
Game.Input.OnUICanceled -= OnUICanceled;
|
Game.Input.OnUICanceled -= OnUICanceled;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -110,8 +110,6 @@ namespace NBF
|
|||||||
Object.Destroy(_model.gameObject);
|
Object.Destroy(_model.gameObject);
|
||||||
_model = null;
|
_model = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// _rotating = Vector3.zero;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,11 @@ namespace NBF
|
|||||||
_renderImage.LoadModel(itemConfig.GetModelPath(), null);
|
_renderImage.LoadModel(itemConfig.GetModelPath(), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void UnloadModel()
|
||||||
|
{
|
||||||
|
_renderImage.UnloadModel();
|
||||||
|
}
|
||||||
|
|
||||||
#region 用户输入操作(滑动,拖动等)
|
#region 用户输入操作(滑动,拖动等)
|
||||||
|
|
||||||
private bool _focus;
|
private bool _focus;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
Config/Gear.xlsx
BIN
Config/Gear.xlsx
Binary file not shown.
BIN
Config/Item.xlsx
BIN
Config/Item.xlsx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,10 +0,0 @@
|
|||||||
模块名_..
|
|
||||||
例:
|
|
||||||
Mission_Title_10001
|
|
||||||
Mission_Describe_10001
|
|
||||||
Notice_GoldLow
|
|
||||||
Item_Name_300001
|
|
||||||
|
|
||||||
艺术字,增加第二个字段,标注为Image
|
|
||||||
例
|
|
||||||
Mission_Image_Title_10001
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user