Quantcast
Channel: Questions in topic: "javascripting"
Viewing all articles
Browse latest Browse all 105

Problem with simple JavaScript, No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(UnityEngine.GameObject, UnityEngine.Vector3)' was found.

$
0
0
Problem with this script, am I just really stupid because I can't find the problem. #pragma strict var Health : int; var explosion : GameObject; var target : Transform; function DeductPoints (Damage : int) { Health -= Damage; } function Update () { if (Health <= 0) { Destroy(gameObject); Instantiate(explosion, target.position); } }

Viewing all articles
Browse latest Browse all 105

Trending Articles



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