hmm… it when you interacting with object in game… for example to unlock door,hack computer… mini-games start… if complete successfully – then door unlocked, computer hacked…
I would go by disabling the main player script. Then activating another script that works for said minigame. Have the minigame have it’s own camera and/or scene and load that camera/scene. Use a boolean to specify if you beat the game or if you’re done with it. Then switch back to the other settings.