移除配置

This commit is contained in:
2025-10-31 22:45:52 +08:00
parent b2cf8cdb88
commit ccb7f6247f
17 changed files with 13 additions and 19 deletions

View File

@@ -58,6 +58,7 @@ namespace NBF
protected override void OnHide()
{
Model.UnloadModel();
Game.Input.OnUICanceled -= OnUICanceled;
}
}

View File

@@ -110,8 +110,6 @@ namespace NBF
Object.Destroy(_model.gameObject);
_model = null;
}
// _rotating = Vector3.zero;
}

View File

@@ -53,6 +53,11 @@ namespace NBF
_renderImage.LoadModel(itemConfig.GetModelPath(), null);
}
public void UnloadModel()
{
_renderImage.UnloadModel();
}
#region ()
private bool _focus;