public void SpawnCountQuery(Querable quer) { quer.gameAreaHeight = databaseTable.gameAreaHeight; quer.gameAreaWidth = databaseTable.gameAreaWidth; quer.numUnitsToSpawn = sec; quer.unitSpawnDelay = databaseTable.unitSpawnDelay; quer.unitSpawnMinRadius = databaseTable.unitSpawnMinRadius; quer.unitSpawnMaxRadius = databaseTable.unitSpawnMaxRadius; quer.unitSpawnMinSpeed = databaseTable.unitSpawnMinSpeed; quer.unitSpawnMaxSpeed = databaseTable.unitSpawnMaxSpeed; quer.unitDestroyRadius = databaseTable.unitDestroyRadius; }
private void Awake() { basicManager = GameObject.FindObjectOfType <BasicManager>(); querable1 = new Querable(); }