static JSONObject RetrieveDescriptionsObject(RenewableTypes renewableType) { TextAsset renewableDescriptionAsset = Resources.Load <TextAsset>(RENEWABLE_DESCRIPTIONS_DIRECTORY_PATH + "/" + renewableType.ToString()); JSONObject renewableDescriptionObject = new JSONObject(renewableDescriptionAsset.text); return(renewableDescriptionObject); }
public void RenewableInventoryMenu_PointerEnter(RenewableTypes renewableType) { string renewableDescription = MasterSerializer.GetRenewableDescription(renewableType); menuManager.PopulateInformationText(renewableType.ToString(), renewableDescription); }