模型预览功能
This commit is contained in:
@@ -21,14 +21,13 @@ namespace NBF
|
||||
ItemInfo = GetData() as ItemInfo;
|
||||
|
||||
Quality.SetQuality(ItemInfo.Config.Quality);
|
||||
|
||||
|
||||
Content.Basic.SetInfo(ItemInfo);
|
||||
Content.Basic.SetInfo(ItemInfo);
|
||||
|
||||
var model = PrefabsHelper.CreatePrefab(ItemInfo.Config.Model);
|
||||
Model.SetModel(model);
|
||||
// LoadModel(ItemInfo.Config.Model);
|
||||
|
||||
// var model = PrefabsHelper.CreatePrefab(ItemInfo.Config.Model);
|
||||
Model.SetData(ItemInfo.Config);
|
||||
|
||||
Game.Input.OnUICanceled += OnUICanceled;
|
||||
}
|
||||
|
||||
@@ -50,7 +49,6 @@ namespace NBF
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected override void OnHide()
|
||||
{
|
||||
Game.Input.OnUICanceled -= OnUICanceled;
|
||||
|
||||
Reference in New Issue
Block a user