unity 鼠标移动控制枪口方向

 将本代码拖给枪物体便可;功能是鼠标控制枪口方向,及固定时间内发射子弹;ide using System.Collections; using System.Collections.Generic; using UnityEngine; public class GunManager : MonoBehaviour { private AudioSource gunAudi
相关文章
相关标签/搜索