void Awake()
 {
     myCartesianControl = transform.GetComponent <CartesianControl>();
     if (myCartesianControl == null)
     {
         Debug.Log("The CartesianControl script has not been wired up properly (probably not found)");
     }
 }
    void Awake()
    {
        // Assign to myCartesianControl the component of CartesianControl type
        // that is attached the gameObject this script is attached to
        myCartesianControl = gameObject.GetComponent <CartesianControl>();

        if (myCartesianControl == null)
        {
            Debug.Log("It seems that there is not CartesianControl script attached to this GameObject");
        }
    }