void Awake()
 {
     print("AWAKE");
     instance  = this;
     planetTex = new Texture2D(width, height, TextureFormat.ARGB32, false);
     pg        = new PlanetGenerator(width, height, planetTex);
 }
Esempio n. 2
0
 void Awake()
 {
     print ("AWAKE");
             instance = this;
             planetTex = new Texture2D (width, height, TextureFormat.ARGB32, false);
             pg = new PlanetGenerator (width, height, planetTex);
 }