Updated getter in ModelList and cleaned Assembly
This commit is contained in:
@@ -23,9 +23,9 @@ public class ModelList : ScriptableObject
|
||||
/// </summary>
|
||||
/// <param name="modelIndex">ModelIndex of the model</param>
|
||||
/// <returns>Model associated with this index, null if no model was found</returns>
|
||||
public NNModel GetModelByIndex(ModelIndex modelIndex)
|
||||
public NNModel GetCurrentModel()
|
||||
{
|
||||
return models.Find((m) => m.index == modelIndex).model;
|
||||
return models[currentModelIndex].model;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user