Ejemplo n.º 1
0
    public void SetupBoardHoles()
    {
        // Create the level board holes mask
        BoardHolesMaskGenerator boardHoles = new BoardHolesMaskGenerator(boardData);

        boardHolesMask = boardHoles.CreateMaskTexture(256, 256);
        boardBackground.renderer.material.SetTexture("_AlphaMask", boardHolesMask);
    }
	public void SetupBoardHoles() 
	{
		// Create the level board holes mask
		BoardHolesMaskGenerator boardHoles = new BoardHolesMaskGenerator(boardData);
		boardHolesMask = boardHoles.CreateMaskTexture(256, 256);
		boardBackground.renderer.material.SetTexture("_AlphaMask", boardHolesMask);
	}