示例#1
0
    void OnCampaignStateChange(CampaignState newCampaignState)
    {
        UpdateHealthDisplay(newCampaignState.player.CurrentHealth);
        UpdateInventoryDisplay(newCampaignState.inventory);

        depthText.text     = newCampaignState.depth.ToString();
        depthNameText.text = DataRetriever.GetDepthName(newCampaignState.depth);
    }