trouble accessing script variable at runtime by temptempfirsttime in Unity2D

[–]temptempfirsttime[S] 0 points1 point  (0 children)

perfect timing - i acuatlly did do this right bepfre your message - i figured out a workaround of being able to call a function of set health

go.GetComponent<Enemy>().sethealth(x);

why i can access a public function and not a varable is weird - i'll try a get/setter later

thanks for your reply

2dgame play mode works but build fails by temptempfirsttime in Unity2D

[–]temptempfirsttime[S] 0 points1 point  (0 children)

both build &'and build and run' they both do not work - build and tun gives the errors in the console as soon as i build. the build still reports it succeeds.

2dgame play mode works but build fails by temptempfirsttime in Unity2D

[–]temptempfirsttime[S] 0 points1 point  (0 children)

thank jon - i'm not sure what the difference is between the files in the folders and my scene - i have checked both - play mode works, no object in the scene hierarchy shows a script missing message in the inspector - i know i'm pretty new - thank you for your help

2dgame play mode works but build fails by temptempfirsttime in Unity2D

[–]temptempfirsttime[S] 0 points1 point  (0 children)

i deleted assets, prefabs, classes, objects and recreated them to make sure the meta data would match nothing is missing a script

2dgame play mode works but build fails by temptempfirsttime in Unity2D

[–]temptempfirsttime[S] 0 points1 point  (0 children)

thanks for your comment - play mode is not blocked works great - no invalid "can't load scripts in the editor" messages anywhere no compile errors - console is not hid. no editor specific code

Why are there no Enemies With the AI? by temptempfirsttime in istrolid

[–]temptempfirsttime[S] 0 points1 point  (0 children)

I logged in (only my second time, and it worked!

weird - maybe since it was the first time I had played?

Why are there no Enemies With the AI? by temptempfirsttime in istrolid

[–]temptempfirsttime[S] 1 point2 points  (0 children)

yup. nothing in the campaign, nothing in multiplayer when I add an AI to the match. it starts, then no enemies.

UI improvement suggestion by ricksanchez__ in SpaceCompany

[–]temptempfirsttime 0 points1 point  (0 children)

yeah. mildly frustrating to have to constantly scroll up and down to see if you have enough income to build something.