Hi,
I have the error of "IMyInventory.getItems" in my script for sorting Container.
I have tried many things but I can not solve this problem.
I put the codes below for those who want to look at it.
error script IMyInventory.getItems
I have the error of "IMyInventory.getItems" in my script for sorting Container.
I have tried many things but I can not solve this problem.
I put the codes below for those who want to look at it.
Code:
List<string> GetItemsList(IMyInventory inventaire)
{
List<string> ItemsList = new List<string>();
List<IMyInventoryItem> items = inventaire.GetItems();
for (int i = 0; i < items.Count; i++) ItemsList.Add(items[i].GetDefinitionId().SubtypeId.ToString());
return ItemsList;...