using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace TwitchInGames.Test {
    public class Message : MonoBehaviour {
#pragma warning disable 649 // Field '*' is never assigned to, and will always have its default value *
        [SerializeField]
        private Text[] textFields;
#pragma warning restore 649

        public void Init(string[] texts) {
            for(int i = 0; i < textFields.Length; i++) {
                textFields[i].text = texts[i];
            }
        }
    }
}
