unity游戏
1
悟空1204
还能笑就不算太差。
展开
-
Unity做贪吃蛇里身体的生成及跟着头的移动
using System.Collections;using System.Collections.Generic;using UnityEngine;//using System.Linq;using UnityEngine.UI;//using UnityEditor.SceneManagement; public List<Transform> bodyList = new List<Transform>();//////定义身体构成一个List publi原创 2020-11-10 11:40:52 · 2833 阅读 · 0 评论 -
Unity物体移动三种方法
球的移动方法一:球的基本移动方法一:transform.Translate,球只会平移前进using System.Collections;using System.Collections.Generic;using UnityEngine;public class move : MonoBehaviour{ public float suDu; // Start is called before the first frame update void Start()原创 2020-09-22 21:31:11 · 745 阅读 · 0 评论