gutterball-3/Gutterball 3/Assets/Scripts/VoiceText.cs
SkunkStudios 71779ef7ac New Version 1.6
New 125 balls & powerups.
Improved graphics.
2025-05-07 06:18:40 +07:00

18 lines
478 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class VoiceText : MonoBehaviour
{
public Text voice1Text;
public Text voice2Text;
public Commentator commentator;
// Update is called once per frame
void Update ()
{
voice1Text.text = commentator.commentators1[(int)Game.voices1].commentators;
voice2Text.text = commentator.commentators2[(int)Game.voices2].commentators;
}
}