작성
·
371
0
효과음을 넣으면 그 전에는 잘 돼다가 안돼요ㅠㅠ
NullReferenceException: Object reference not set to an instance of an object
GunController.PlaySE (UnityEngine.AudioClip _clip) (at Assets/script/GunController.cs:51)
GunController.Shoot () (at Assets/script/GunController.cs:44)
GunController.Fire () (at Assets/script/GunController.cs:40)
GunController.TryFire () (at Assets/script/GunController.cs:34)
GunController.Update () (at Assets/script/GunController.cs:23)
이런 오류메세지가 떠요ㅠㅠ
답변 1
0
전체 코드: