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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Feature Request Event Pre-Construct node request (UI)

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

  1. DryreL


    Feb 23, 2020
    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!