Search Unity

Resolved How can I make an offline menu with netcode?

Discussion in 'Netcode for GameObjects' started by KaiserTino, Mar 9, 2023.

  1. KaiserTino

    KaiserTino

    Joined:
    Apr 22, 2022
    Posts:
    7
    I have some basics up and running but my game`s menu is still within the actual game scene.
    Is there a way to change that?
     
  2. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    440
    Yes, just make your menu part of the "offline scene" if it is not intended to be accessible in the online game.
     
  3. KaiserTino

    KaiserTino

    Joined:
    Apr 22, 2022
    Posts:
    7
    How do I make an offline scene. Sry Im not so experienced at networking.
     
  4. Homicide

    Homicide

    Joined:
    Oct 11, 2012
    Posts:
    658
    Every scene you make is 'offline', only through the magic of code will you ever be connected.
     
    RikuTheFuffs likes this.
  5. KaiserTino

    KaiserTino

    Joined:
    Apr 22, 2022
    Posts:
    7
    Ok thanks but how do I connect it?
     
  6. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    440
  7. KaiserTino

    KaiserTino

    Joined:
    Apr 22, 2022
    Posts:
    7
    Oh
    thanks. How could I have overlooked that. Am I blind or something?