|
I am trying to create a space where player's can enter a name for their hero when they start a new game. Here is my code: using UnityEngine; using System.Collections; public class Namespace : MonoBehaviour { public string hero; } _________________________________________________________________________________________ I get an error that says Assets/Scripts (Medina)/Namespace.cs(9,36): error CS1729: The type Any help is greatly appreciated :-)
(comments are locked)
|
|
Just remove that line, you don't need it. You could set hero = "" if you want.
(comments are locked)
|
