Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Mini-games. How?

Discussion in 'Editor & General Support' started by lord_goldemort, May 12, 2020.

  1. lord_goldemort

    lord_goldemort

    Joined:
    Oct 5, 2017
    Posts:
    11
    If a wanted to pop up a mini-game during a normal level of my game, is there a good mechanism? Possibilities:

    1. Have some hidden area of the game world where the minigame lives, swap camera and controls... somehow? Potential memory issues and architecturally a bit hacky.
    2. Freeze the current game, cache its state, load in the mini-game scene, play it, reload the main game, refresh state. Likely performance issues, better code.
    3. Some other cunningness I haven't considered?

    Thanks!