Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

How can i display hp for player - fps game for javascript

$
0
0
when i try use this code JAVAScript unity 5.1 : healthtext.guiText.text ="health :" + health; I'm getting this error but it working on unity 4.6.7 BCE0144: 'UnityEngine.Component.guiText' is obsolete. Property guiText has been deprecated. Use GetComponent() instead. (UnityUpgradable) i tried like this but its not working. anyone get help? healthtext.GetComponent("health :") + health;

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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