Permalink
Cannot retrieve contributors at this time
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?
Script_1/Assets/Scripts/HelloWorld.cs
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (27 sloc)
691 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class HelloWorld : MonoBehaviour { | |
public bool isDead = false; | |
public int startingHealth = 100; | |
public int currentHealth; | |
public float dmg = 3.14f; | |
public string Name = "Terrence the Terrible"; | |
public GameObject Camera; | |
public int strength = 0; | |
public int RandomNum = 0; | |
public string theText; | |
//public Text constText; | |
private Texture txtRef; | |
//public GameObject ConstText: | |
//public void | |
// Use this for initialization | |
void Start () { | |
RandomNum = Random.Range (1, 8); | |
theText = RandomNum.ToString (); | |
Debug.Log (theText); | |
//Texture.text | |
} | |
// Update is called once per frame | |
void Update () { | |
} | |
} |