- Home /
Question by
yoyo696 · Jan 18, 2016 at 08:30 AM ·
textinputfieldnametextfield
how to put the name of a car ???
using UnityEngine;
using System.Collections;
public class DriverInfo : MonoBehaviour {
public char NameOfDriver = new GUIText();
public char Name = new GUIText();
// Use this for initialization
void Start () {
NameOfDriver = gameObject.name = ("Text");
}
// Update is called once per frame
void Update () {
}
}
image.png
(109.2 kB)
Comment