mirror of
https://github.com/imperialsushi/gutterball-3.git
synced 2025-06-15 05:07:42 +00:00
18 lines
478 B
C#
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;
|
|
}
|
|
}
|