//Planete actuelle void Start() { Init(); generationGalaxy(); mainMenuAnim = MainMenu.GetComponent <Animator>(); systemMenuAnim = SystemMenu.GetComponent <Animator>(); planetMenuAnim = PlanetMenu.GetComponent <Animator>(); }
// Use this for initialization void Start() { mainMenuAnim = MainMenu.GetComponent <Animator>(); systemMenuAnim = SystemMenu.GetComponent <Animator>(); planetMenuAnim = PlanetMenu.GetComponent <Animator>(); /* * planetTextFieldName = planetTextName.GetComponent<Text> (); * galaxyTextFieldName = galaxyTextName.GetComponent<Text> (); * systemTextFieldName = systemTextName.GetComponent<Text> (); */ }