예제 #1
0
 void Start()
 {
     if (Data == null)
     {
         return;
     }
     if (Data.IsEmpty())
     {
         Create();
     }
     else
     {
         Visualize();
     }
 }
예제 #2
0
 void Start()
 {
     if (satellitePosition == null)
     {
         satellitePosition = new SatellitePosition(gameObject);
         satellitePosition.GenerateSeed();
     }
     else
     {
         satellitePosition.SetParent(gameObject);
     }
     if (Data == null)
     {
         return;
     }
     if (Data.IsEmpty())
     {
         Create();
     }
     else
     {
         Visualize();
     }
 }