GetUpgrades() not working
Investigating
Hi. I try to get data from refs using GetUpgrades()
Use code:
Dictionary<string, float> refsUpgradeList;
var upgradeBlock = refs as IMyUpgradableBlock;
upgradeBlock?.GetUpgrades(out refsUpgradeList);
I get error: cannot convert from out Vrage.Scripting.MemorySafeTypes.MemorySafeDictionary to out System.Collection.Generic.Dictionary
Files:
SCR.jpg
Replies have been locked on this page!