public void SetupView(CampaignModeConfig mode) { this.mode = mode; icon.sprite = LoadResourceController.GetCampaignModeIcon(mode.modeId); describeMapTxt.text = "Describe mode: " + mode.modeId; lengthMapTxt.text = "Length: " + mode.mapList.Count; }
public void SetupView(CampaignModeConfig mode) { this.mode = mode; icon.sprite = LoadResourceController.GetCampaignModeIcon(mode.modeId); describeMapTxt.text = "Describe mode: " + mode.modeId; lengthMapTxt.text = "Length: " + mode.mapList.Count; }