Exemplo n.º 1
0
        private void OnTrackingLost()
        {
            print(this.gameObject.name + ":lost");
            ConfirmButtonControl.Hide();

            GameObject.Find("detectNum").GetComponent <Text>().text = "None";
            image.enabled = true;

            GameObject.Find("score").GetComponent <Text>().text = "None";

            UserInfo.found = false;
            bloodstrip.SetBloodStrip();
            Basic.SetARBloodStripText();
        }
Exemplo n.º 2
0
        void check()
        {
            print(UserInfo.scanNum.ToString() + ":" + "test");
            int num = UserInfo.scanNum;

            print("num:" + num);
            bool c = getTime.checkShow(num);

            print("result:" + c.ToString());
            print("found:" + found);
            if (c && UserInfo.found)
            {
                ConfirmButtonControl.Show();
            }
        }