Ejemplo n.º 1
0
    //called by clicking on "Read" button - reads Fuser log
    // only for b4 level
    public void doReadLog()
    {
        rechargingText.enabled = false;
        readButton.gameObject.SetActive(false);

        // move controller to center of screen
        RectTransform controllerRect = controller.GetComponent <RectTransform>();

        controllerRect.anchorMin        = new Vector2(0.5f, 0.5f);
        controllerRect.anchorMax        = new Vector2(0.5f, 0.5f);
        controllerRect.anchoredPosition = new Vector2(0, 0);

        StartCoroutine(readLog());
    }