2016年11月27日
摘要: using UnityEngine;using System.Collections; public class FoodSnake : MonoBehaviour { public int yLimit = 30; public int xLimit = 22; public GameObject 阅读全文
posted @ 2016-11-27 14:21 春天里的麦子 阅读(242) 评论(0) 推荐(0) 编辑
摘要: public class MoveSnake : MonoBehaviour { Vector2 direction = Vector2.up; // Use this for initialization void Start () { InvokeRepeating("Move", 0.5f, 阅读全文
posted @ 2016-11-27 13:34 春天里的麦子 阅读(262) 评论(0) 推荐(0) 编辑