Search Unity

Feature Request Event Pre-Construct node request (UI)

Discussion in 'Visual Scripting' started by DryreL, Jan 30, 2023.

  1. DryreL

    DryreL

    Joined:
    Feb 23, 2020
    Posts:
    49
    Hi there,

    After using Unreal Engine for about a year, I came back to Unity to develop 2D games. And I learned a lot in that one year of Unreal Engine experience.

    For example, I've currently made a prefab for the Button. But when I change the variable, I can't see the result without pressing the Play button. Because the "On Start" event only starts when the game is running.


    -> I update the text within the execution.
    -> Text is updated by "TextBlock_Default" (String) variable.


    -> When I update the TextBlock_Default variable, it sets the text On Start. This is good, but not good enough. Because I cannot preview the text on the engine.

    So that's where Event Pre-Construct comes in!
    -> It was a very useful event that I saw for widgets in Unreal Engine. Even if you don't start the game, it works and updates the values there.



    It would be great if we could see such an event in the future (hopefully soon). Always be open to improvement. Thanks!