using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameControl : MonoBehaviour { //资源加载路径 public string spritePath = "Sprites/Teriri"; //拼图碎片 public Sprite[] sprites = null; //拼图控制(以
8.6 Implement a jigsaw puzzle. Design the data structures and explain an algorithm to solve the puzzle. You can assume that you have a f itsWith method which, when passed two puzzle pieces, returns true if the two pieces belong together.