Skip to content
Permalink
3f7d701646
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (18 sloc) 435 Bytes
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class DNDGen : MonoBehaviour {
// Use this for initialization
public GameObject MyCamera;
public float playerHealth;
public string myName;
public Text text;
void Start () {
Debug.Log ("My name is " + myName);
text = GetComponent<Text> ();
text.text = "My name is " + myName;
}
// Update is called once per frame
void Update () {
}
}