Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Im getting an CS8025 error, please help, this is my script.

$
0
0
using UnityEngine; using UnityEngine.UI; using System.Collections; public class AxeDestroy : MonoBehaviour { public GameObject Axe; void OnMouseDown () { if (GameObject.Find("Axe").GetComponent() == true) { Debug.Log ("Axe is ready"); Destroy (gameObject); } if (!GameObject.Find("Axe").GetComponent() == false) { Debug.Log ("Axe is unequipped"); } }

Viewing all articles
Browse latest Browse all 2891

Trending Articles



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