예제 #1
0
    static JSONObject RetrieveDescriptionsObject(RenewableTypes renewableType)
    {
        TextAsset  renewableDescriptionAsset  = Resources.Load <TextAsset>(RENEWABLE_DESCRIPTIONS_DIRECTORY_PATH + "/" + renewableType.ToString());
        JSONObject renewableDescriptionObject = new JSONObject(renewableDescriptionAsset.text);

        return(renewableDescriptionObject);
    }
예제 #2
0
    public void RenewableInventoryMenu_PointerEnter(RenewableTypes renewableType)
    {
        string renewableDescription = MasterSerializer.GetRenewableDescription(renewableType);

        menuManager.PopulateInformationText(renewableType.ToString(), renewableDescription);
    }