Ejemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        Bltext = Black.GetComponent <Text>();
        Whtext = White.GetComponent <Text>();
        Vector3 put;

        for (int i = 0; i < 8; i++)
        {
            for (int j = 0; j < 8; j++)
            {
                put             = new Vector3(-3.5f + j, 0, 3.5f - i);
                boardinfo[i, j] = -1;
                disclist[i, j]  = Instantiate(disc, put, Quaternion.identity);
                Boardlist[i, j] = Instantiate(Board, put, Quaternion.identity);
            }
        }
        boardinfo[3, 3] = boardinfo[4, 4] = 0;
        boardinfo[3, 4] = boardinfo[4, 3] = 1;
        Checkit();
    }
Ejemplo n.º 2
0
    public void CapillaryBackfill()
    {
        BackfillTutorial Backfill = White.GetComponent <BackfillTutorial>();

        Backfill.ShowThumb();
    }