Quantcast
Channel: Answers by "ransomink"
Viewing all articles
Browse latest Browse all 80

Answer by ransomink

$
0
0
Make sure "FireFrom" is spelled the same inside the hierarchy and the script. Also check that the script is attached to the TurretHead gameobject (just as a formality). I would throw an debug exception to see if the FireFrom gameobject comes back as null. fireFrom = transform.Find("FireFrom").gameObject; if (fireFrom == null) Debug.LogError("No child with the name 'FireFrom' attached to TurretHead.");

Viewing all articles
Browse latest Browse all 80

Trending Articles



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