public void PopulateLicensePage(Deity deity, Cult cult) { CurrentCult = cult; CurrentDeity = deity; GodNameText.text = deity.GetName(); }
public void Setup(Deity d, DeityScrollList scrollList) { deity = d; deityName.text = deity.GetName(); // deityIcon = deity.GetDeityIcon(); // cultSize.text = cult.GetSize().ToString(); deityScrollList = scrollList; DetailsPanel = GameObject.Find("Deity Details Panel"); button.onClick.AddListener(delegate { fillPanel(); }); }
public void populateDetailsPanel(Deity deity) { currentDeity = deity; DeityName.text = deity.GetName(); WorshipMethod.text = "" + deity.GetWorshipMethod(); amtWorshipRequired = deity.GetWorshipRequired(); amtWorshipReceived = deity.GetWorshipReceived(); satisfaction = deity.GetSatisfaction(); SatisfactionSlider.value = CalculateSatisfaction(); WorshipLevelSlider.value = CalculateWorshipLevel(); }