Quantcast
Channel: Answers for "Access to script global var's from a transform object? (specific ? on something that should work)"
Viewing all articles
Browse latest Browse all 4

Answer by Wotan

$
0
0

What are you trying to achieve?

badGuy.Enemy1_AI.EnemyLevel = badEnemyLevel;

must fail as badGuy is of the type Transform. Transform however does not have a member .Enemy1_AI.EnemyLevel and therefore the compiler complaints.


Viewing all articles
Browse latest Browse all 4

Trending Articles



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