示例#1
0
    // Update is called once per frame
    void Update()
    {
        PlayerProgress.transform.localScale = new Vector3((Progress() / 100) * 1, 1, 1);
        Text text = PlayerProgressText.GetComponent <Text>();

        text.text = "IP track finished in " + SecondsLeftOnAction() + " seconds!";
        SendPassiveLine();
    }
示例#2
0
    // Update is called once per frame
    void Update()
    {
        //Draw changes to the UI progress bars
        PlayerProgress.transform.localScale = new Vector3((Progress() / 100) * 1, 1, 1);
        Text text = PlayerProgressText.GetComponent <Text>();

        text.text = "Hack Completed in " + SecondsLeftOnAction() + " seconds!";
        SendPassiveLine();
    }