Hi,
I’m going crazy -.-
I’ve got two classes:
public class BotWave : MonoBehaviour
{
public float Duration = 30.0f;
public int NumberOfBots = 1;
}
public class WaveDefines : MonoBehaviour
{
public BotWave[] Waves;
}
When attaching the “WaveDefines” script to an empty gameobject the inspector shows some slots for empty BotWave objects.
What I’d like to have is the following:
The inspector should show x times the BotWave variables. I’d like to modify them in the inspector. I don’t want to add gameobjects that have the BotWave scripts attached. I tried several things but nothing worked as desired
is it possible at all?