33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class ShowMoney : MonoBehaviour
|
|
{
|
|
public GameObject purplePoint;
|
|
public GameObject cyanPoint;
|
|
public GameObject pinkPoint;
|
|
public GameObject yellowPoint;
|
|
public GameObject bluePoint;
|
|
public GameObject greenPoint;
|
|
|
|
public GameObject TextBoxPrefab;
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
GameObject purpleText = Instantiate( TextBoxPrefab, purplePoint.transform);
|
|
GameObject cyanText = Instantiate( TextBoxPrefab, cyanPoint.transform);
|
|
GameObject pinkText = Instantiate( TextBoxPrefab, pinkPoint.transform);
|
|
GameObject yellowText = Instantiate( TextBoxPrefab, yellowPoint.transform);
|
|
GameObject blueText = Instantiate( TextBoxPrefab, bluePoint.transform);
|
|
GameObject greenText = Instantiate( TextBoxPrefab, greenPoint.transform);
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|