﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LevelManager : MonoBehaviour {

    public EnemySpaceShip enemy;

    public void SetupLevel() {
        LayoutObject();
    }

    private void LayoutObject() {
        Instantiate(enemy, new Vector3(9f, 0f, 0f), Quaternion.identity);
    }
}

﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LevelManager : MonoBehaviour {

    public EnemySpaceShip enemy;
    public PlayerSpaceShip player;

    public void SetupLevel() {
        LayoutObject();
    }

    private void LayoutObject() {
        Instantiate(enemy, new Vector3(9f, 0f, 0f), Quaternion.identity);
        Instantiate(player, new Vector3(-9f, 0f, 0f), Quaternion.identity);
    }
}

Add PlayerSpaceship to a level
Add PlayerSpaceship to a level
