Esempio n. 1
0
    void CheckOutput()
    {
        try {
            var t     = output.text;
            var split = t.Split(new [] { " " }, StringSplitOptions.RemoveEmptyEntries);


            for (int i = 0; i < split.Length; ++i)
            {
                CheckerCoords coords = TextToCoords(split[i]);

                touchMoveProvider.Raycast(_board.CheckerToWorldCoords(coords));
            }
        }
        catch (Exception e) {
            androidDebug.AddLog(e.ToString());
        }
    }