void LoadModel(string filepath) { if (File.Exists(filepath)) { if (mdl != null) { mdl.Destroy(true); } mdlName = LoadModelData(filepath); loadedModel = true; } }
void LoadModel(string filepath) { if (File.Exists(filepath)) { if (mdl != null) { mdl.Destroy(true); } mdlName = LoadModelData(filepath); loadedModel = true; } }