public static TinyPlanet CreateTinyPlanet() { GameObject gO = new GameObject("TinyPlanet"); TinyPlanet planet = gO.AddComponent <TinyPlanet>(); return(planet); }
void Awake() { planet = target as TinyPlanet; }