예제 #1
0
    // Update is called once per frame
    void Update()
    {
        //ShowInformation();
        string str = c.getGo();

        string[] goNext = str.Split(':');
        if (goNext[0] == "true")
        {
            if (goNext[1] == "A")
            {
                PressA();
            }
            else if (goNext[1] == "B")
            {
                PressB();
            }
            c.setGo("false:");
        }
    }