Hey guys, I need to access the variables that I created in this script and get values that will be inputed from the inspector:
var waves : EnemyWaves [];
class EnemyWaves extends System.Object{
public var waveEnabled : boolean;
public var maxEnemies : int;
public var spawnSetTime : float;
public var spawnAmount : int;
}
So for eg, I want to do a check to see how many maxEnemies are inputted, I just can’t use the bare maxEnemies var because I get this error:
What to do?