Android内嵌Unity
参考文章:Android/iOS内嵌Unity开发示例 - zhxmdefj - 博客园 (cnblogs.com)https://www.cnblogs.com/zhxmdefj/p/13273560.html
参考视频:Embedded unity within the android app Part II - YouTubehttps://www.youtube.com/watch?…
基本原理: 遍历所有宝石集合,判断行和列三连的情况,删除三连,更新上方宝石位置.
1.定义一个宝石脚本,功能:随机指定宝石类型,指定宝石位置,iTween动画,销毁,颜色 using UnityEngine;
using System.Collections;public class Gemstone : MonoBehaviour {public float xOffset …