摘要:
2D游戏UI和3D游戏UI是相反的(以轴作参照) using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { #region 属性值 public float moveSpeed;//坦克移动速度 ... 阅读全文
posted @ 2019-05-08 07:26
kubll
阅读(789)
评论(0)
推荐(0)
摘要:
子弹产生的角度应该是当前坦克的角度+子弹应当旋转的角度 阅读全文
posted @ 2019-05-08 00:26
kubll
阅读(534)
评论(0)
推荐(0)
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { #region 属性值 public float moveSpeed;//坦克移动速度 #endregion #region 引用值... 阅读全文
posted @ 2019-05-08 00:18
kubll
阅读(519)
评论(0)
推荐(0)
摘要:
bug修改: 1、上下移动和左右移动同时存在时,坦克会斜着移动 解决:增加移动优先级 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public float moveSpeed;//坦克移动速度 ... 阅读全文
posted @ 2019-05-08 00:06
kubll
阅读(581)
评论(0)
推荐(0)

浙公网安备 33010602011771号