Quantcast
Channel: Latest Questions by Davoid ZalaX
Viewing all articles
Browse latest Browse all 6

Error CS0116 : A namespace can only contain types and namespace declarations. PLEASE HELP ME!

$
0
0
Here is my C# script that is attached to my coins. The error is on (4,6) using UnityEngine; using System.Collections; void OnTriggerEnter(Collider other) { if(other.gameObject.tag == "Coin") { other.gameObject.SetActive = false; } }

Viewing all articles
Browse latest Browse all 6

Trending Articles



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