public void Initialize(ActData data, bool available) { Title.text = "Act " + data.ActNumber; ActImage.sprite = data.LoadSprite(); locked.SetActive(available); }
public void Init(ActData data, ActSelectInterface actInterface, bool hideLeft = false, bool hideRight = false) { this.data = data; this.actInterface = actInterface; title.text = "Act " + data.ActNumber + "\n" + data.Name; display.sprite = data.LoadSprite(); if (hideLeft) { LeftButton.SetActive(false); } if (hideRight) { RightButton.SetActive(false); } }