// 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>();
    }
예제 #2
0
 // 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>();
 }