Yo!
I'm trying to learn how to show a custom text information on a HUD.

E.g.: I've setup a schematic with a "Start Timer" node and a global variable key, then I added the Call HUD nodes to show/hide it. My HUD in Makinom has a "HUD Type: Information" setting with "HUD User None" and the hud alone shows correctly whenever I call the schematic.
The problem is, I'm not sure how to show the content.
I tried adding an "HUD Text Content" to the HUD prefab but I'm still not sure what to do here.
The HUDs tooltip says that "Information" HUD Type can show game time, variables, etc.. so I was wondering how to do so.

Thanks in advance, as always.

  • Beside calling the HUD via schematic, you can also set up the HUD to auto show and control displaying it via display conditions (e.g. using game states).

    Anyway, the HUD Text Content or ORK HUD Text Content components are used to define the text/content you want to show, the actual display is handled by other components - it's best to add the ready to use setup via the scene hierarchy context menu, e.g.: ORK Framework > HUD > Content > Text Content

    For the text, you can use text codes to add information. While editing the text, you can see the More button above the text area, which shows more available options. E.g. '< time>' (without the space after '<') will show the current game time. Or a variable text code for your timer.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Oooh, I haven't seen the "more" button, I'm blind... It works like a charm.
    Beside calling the HUD via schematic, you can also set up the HUD to auto show and control displaying it via display conditions (e.g. using game states).
    Yeah, It was my initial setup for the HUD and probably is way better to handle the ui logic :)

    Thanks as always!

Sign In or Register to comment.