Rotator Hints

This commit is contained in:
brausjonas
2023-04-16 18:31:24 +02:00
parent 6e642b511a
commit 98fce52072
13 changed files with 522 additions and 3 deletions
@@ -17,6 +17,17 @@ public class RandomRotator : MonoBehaviour
private bool ended = false;
[SerializeField] private GameObject fullBlocker;
[SerializeField] private Sprite[] hintImages;
private string[] hintTexts = { "Lucky Field", "Item Field" };
[SerializeField] private Image hintImage;
[SerializeField] private TMP_Text hintText;
public void SetHint(int type)
{
hintText.text = hintTexts[type];
hintImage.sprite = hintImages[type];
}
public void SetOptionsText(int index, string text)
{
textOptions[index].text = text;