Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var name:String;//name the galaxy something. will probably be save file basis
- var dimX:int;//integer dimension x, of 2d plane (horizontal)
- var dimY:int;//integer dimension y, of 2d plane (vertical)
- function Update () {
- Debug.Log("The name of the Galaxy is ", name," and the size is ", dimX," by ", dimY," in size.");
- }
- function Start () {
- name="Joseph";
- dimX=Random.Range(1, 64);
- dimY=Random.Range(1, 64);
- }
Add Comment
Please, Sign In to add comment