Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

What would be better for menu, keeping enabled and having it "hidden" or disabling it all together?

Discussion in 'Android' started by MostHated, Sep 10, 2018.

  1. MostHated

    MostHated

    Joined:
    Nov 29, 2015
    Posts:
    1,218
    Hello all,
    I am trying my hand at making a game for mobile. The question kind of sounds silly when I ask it out loud, but this game is pretty heavy on physics so I am trying to do everything I can to make it as performant as possible, down to how the menu operates. Does anyone know if one way or another is better when it comes to managing the menu? I use DoozyUI and it has an option to keep the canvas and menus all enabled but then "hides" them, which looks like it just disables the renderer for the element.

    For other PC games, I would usually just disable that particular menu items gameobject until I needed it but wanted to see if anyone had any experience or knowledge as to if one way might be better over another?

    Thanks,
    -MH
     
  2. Evaldas_Unity

    Evaldas_Unity

    Unity Technologies

    Joined:
    Jun 23, 2016
    Posts:
    69
    I recommend watching Ian Dundores presentation about Unity UI and it's performance.
    A lot of great tips on how to optimize it.

    I have timestamped where it begins but you can also watch the whole thing : )
     
    Mauri likes this.