Esempio n. 1
0
    void DropPuzzle()
    {
        int        c = randomPuzzleColTable.Get();
        PuzzleTile p = Instantiate(samplePuzzle, transform.position, Quaternion.identity, container.transform).GetComponent <PuzzleTile>();

        p.col = c;
        p.SetPuzzleType((PuzzleTile.PType)randomPuzzleTypeTable.Get());
        container.DropPuzzle(c, p);
    }