shadowplaycoding

P002_Galaxy

Sep 13th, 2019 (edited)
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.53 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3.  
  4.  
  5. [System.Serializable]
  6. public class Galaxy
  7. {
  8.     public int NumberOfStars = 300;
  9.     public int MinimumRadius = 0;
  10.     public int MaximumRadius = 100;
  11.     public float MinDistanceBetweenStars = 2f;
  12.  
  13.     public List<Star> Stars;
  14.  
  15.     public Galaxy(){
  16.         this.Stars = new List<Star>();
  17.     }
  18.  
  19. }
  20.  
  21.  
  22. /*
  23. Copyright Shadowplay Coding 2021 - see www.shadowplaycoding.com for licensing details
  24. Removing this comment forfits any rights given to the user under licensing.
  25. */
Add Comment
Please, Sign In to add comment