} // END Update void UpdateInventoryInformation() { varPigskin.text = sContainer.GetStorageRessource(MATERIALS.PigLeather).storedAmount.ToString(); varCrocoLeather.text = sContainer.GetStorageRessource(MATERIALS.CrocodileLeather).storedAmount.ToString(); varUniLeather.text = sContainer.GetStorageRessource(MATERIALS.UnicornLeather).storedAmount.ToString(); varBeech.text = sContainer.GetStorageRessource(MATERIALS.Beech).storedAmount.ToString(); varCherry.text = sContainer.GetStorageRessource(MATERIALS.Cherry).storedAmount.ToString(); varMahagoni.text = sContainer.GetStorageRessource(MATERIALS.Mahagoni).storedAmount.ToString(); varIron.text = sContainer.GetStorageRessource(MATERIALS.Iron).storedAmount.ToString(); varSteel.text = sContainer.GetStorageRessource(MATERIALS.Steel).storedAmount.ToString(); varMithril.text = sContainer.GetStorageRessource(MATERIALS.Mithril).storedAmount.ToString(); varGold.text = sContainer.goldAmount.ToString(); varFame.text = sContainer.fameAmount.ToString(); } // END UpdateInventoryInformation
public void OnMouseEnter() { storageAmount.text = storageContainer.GetStorageRessource(material).storedAmount.ToString("0"); massAmount.text = storageContainer.GetStorageRessource(material).materialMass.ToString("0.##"); qualityMod.text = storageContainer.GetStorageRessource(material).qualityModifer.ToString("0.##"); }