// Deprecated GUI variables - used on Unity 4 //bool Move = false; //bool showMenu = true; //string showMenuText = "Hide"; //float labelWidth = 150; // Use this for initialization void Start() { MainCamera = GameObject.FindGameObjectWithTag("MainCamera"); // marsSatellites.onValueChanged.AddListener(delegate { ValueChangeCheck(marsSatellites); }); rotationAroundPlaneScript = MainCamera.GetComponent <RotationAroundPlanet>(); }
// Deprecated GUI variables - used on Unity 4 //bool Move = false; //bool showMenu = true; //string showMenuText = "Hide"; //float labelWidth = 150; // Use this for initialization void Start() { MainCamera = GameObject.FindGameObjectWithTag("MainCamera"); // marsSatellites.onValueChanged.AddListener(delegate { ValueChangeCheck(marsSatellites); }); rotationAroundPlaneScript = MainCamera.GetComponent<RotationAroundPlanet>(); }