Esempio n. 1
0
    public virtual void Start()
    {
        playerShip         = GameObject.Find("Player").GetComponent <PlayerShip>();
        gmScript           = GameObject.Find("Game Master").GetComponent <GameMaster>();
        objectMasterScript = gmScript.objectsMasterScript;

        xScreen   = gmScript.xScreen;
        yScreen   = gmScript.yScreen;
        xBoundary = gmScript.xBoundary;
        yBoundary = gmScript.yBoundary;

        gmScript.ChangeNotificationText(levelStartString);
        gmScript.StartLevel();

        screenWidth  = GlobalState.GetCameraWidth(gmScript.mainCamera);
        screenHeight = GlobalState.GetCameraHeight(gmScript.mainCamera);
        //StartCoroutine(SpawnWave(3));
    }