Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Menu Help/Discussion

Discussion in 'FPS.Sample Game' started by Journeythedev, Mar 5, 2019.

  1. Journeythedev


    Oct 19, 2016
    I had issues with bundling the main menu as it was, and decided to begin dissecting it in order to build my own. I've had trouble however, doing something I thought was simple:

    I saw that the menu is driven by timeline, and the parts that really matter to me are the GUI and the cameras. The rest of the menu can be customized to fit whatever theme the project asks. I saw that there's a custom track in the Initiating timeline called a Command Clip, and it's calling a function "menu 1 3".

    Diving deeper, the command track utilizes the FPS Samples' console scripts, and therefore console commands. I thought knowing this, I could just duplicate the menu, and begin moving things to fit my own setup, however, my duplicated scene does not bring up the menu GUI and the Game Object. I assumed spawning the GUI, etc. was a part of the menu function, but that seems to not be the case.


    Edit: After rebuilding the assets, the GUI and everything else spawned as necessary.
    Last edited: Mar 6, 2019