Quantcast
Channel: Questions in topic: "exception"
Viewing all articles
Browse latest Browse all 470

NullReferenceException

$
0
0
Bom e o seguinte eu fui colocar o sitema de particulas na bala da minha arma mas dai deu erro de instantiate no script do player me ajudem por favor using UnityEngine; using System.Collections; public class PistolBehaviour : BaseWeapons { // Use this for initialization void Start () { base.Start (); } // Update is called once per frame void Update () { base.Update (); } protected override void OnFire () { **Instantiate (bullet.gameObject, positionSpawnProjectil.position, transform.rotation);** } protected override void OnReload () { } }

Viewing all articles
Browse latest Browse all 470

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>