unity 鼠標移動控制槍口方向

 將本代碼拖給槍物體便可;功能是鼠標控制槍口方向,及固定時間內發射子彈;ide using System.Collections; using System.Collections.Generic; using UnityEngine; public class GunManager : MonoBehaviour { private AudioSource gunAudi
相關文章
相關標籤/搜索