Skip to content
Permalink
Newer
Older
100644 37 lines (27 sloc) 691 Bytes
1
using UnityEngine;
2
using System.Collections;
3
4
public class HelloWorld : MonoBehaviour {
5
6
public bool isDead = false;
7
public int startingHealth = 100;
8
public int currentHealth;
9
public float dmg = 3.14f;
10
public string Name = "Terrence the Terrible";
11
public GameObject Camera;
12
public int strength = 0;
13
public int RandomNum = 0;
14
public string theText;
15
//public Text constText;
16
17
private Texture txtRef;
18
//public GameObject ConstText:
19
//public void
20
21
// Use this for initialization
22
void Start () {
23
RandomNum = Random.Range (1, 8);
24
25
theText = RandomNum.ToString ();
26
27
Debug.Log (theText);
28
29
30
//Texture.text
31
}
32
33
// Update is called once per frame
34
void Update () {
35
36
}
37
}
You can’t perform that action at this time.