mirror of
https://github.com/imperialsushi/gutterball-3.git
synced 2025-06-15 05:07:42 +00:00

Strike it big with amazing bowling action! Everything that made Gutterball 3D a hit is here - incredible 3D graphics, cool ball-rolling controls, hilarious characters - and more! Eight all-new alleys are waxed and ready for you to toss your choice of 85 unique bowling balls. As you play, earn points and cash and unlock alleys and balls. Even customize a ball with your own settings and images! Addictive bowling fun that will bowl you over!
38 lines
973 B
C#
38 lines
973 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class BowlerUI : MonoBehaviour
|
|
{
|
|
public Text playerNameText;
|
|
public Text playerMoneyText;
|
|
public Text playerWinText;
|
|
public Text playerLossText;
|
|
public Text playerStrikesText;
|
|
public Text playerSparesText;
|
|
public Text playerGuttersText;
|
|
|
|
// Use this for initialization
|
|
void Start ()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public void BowlerUpdate(string name, int money, int win, int loss, int strikes, int spares, int gutters)
|
|
{
|
|
playerNameText.text = name;
|
|
playerMoneyText.text = money.ToString();
|
|
playerWinText.text = win.ToString();
|
|
playerLossText.text = loss.ToString();
|
|
playerStrikesText.text = strikes.ToString();
|
|
playerSparesText.text = spares.ToString();
|
|
playerGuttersText.text = gutters.ToString();
|
|
}
|
|
}
|