void Awake() { instance = this; }
// Use this for initialization void Start() { OnMissionAssetsSpawned += () => Debug.Log("Mission Assets Spawned!"); sceneAssetsKeeper = GetComponent<SceneAssetsKeeper>(); aircraftAssets = AssetLoader.instance.loadedAssets.ToArray(); GetPlayerSpawnPositions(); SpawnPlayerPlanes(); GetOpponentSpawnPositions(); SpawnEnemyPlanes(); OnMissionAssetsSpawned(); }