Guest User

Untitled

a guest
Jun 24th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. var name:String;//name the galaxy something. will probably be save file basis
  2. var dimX:int;//integer dimension x, of 2d plane (horizontal)
  3. var dimY:int;//integer dimension y, of 2d plane (vertical)
  4.  
  5. function Update () {
  6. Debug.Log("The name of the Galaxy is ", name," and the size is ", dimX," by ", dimY," in size.");
  7. }
  8.  
  9. function Start () {
  10. name="Joseph";
  11. dimX=Random.Range(1, 64);
  12. dimY=Random.Range(1, 64);
  13. }
Add Comment
Please, Sign In to add comment