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.
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.