移除配置
This commit is contained in:
@@ -58,6 +58,7 @@ namespace NBF
|
||||
|
||||
protected override void OnHide()
|
||||
{
|
||||
Model.UnloadModel();
|
||||
Game.Input.OnUICanceled -= OnUICanceled;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,8 +110,6 @@ namespace NBF
|
||||
Object.Destroy(_model.gameObject);
|
||||
_model = null;
|
||||
}
|
||||
|
||||
// _rotating = Vector3.zero;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -53,6 +53,11 @@ namespace NBF
|
||||
_renderImage.LoadModel(itemConfig.GetModelPath(), null);
|
||||
}
|
||||
|
||||
public void UnloadModel()
|
||||
{
|
||||
_renderImage.UnloadModel();
|
||||
}
|
||||
|
||||
#region 用户输入操作(滑动,拖动等)
|
||||
|
||||
private bool _focus;
|
||||
|
||||
Reference in New Issue
Block a user