[NodeCanvas] OnLoaded for initialization

NodeCanvas Forums General Discussion [NodeCanvas] OnLoaded for initialization

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17084
    leanon00
    Participant

    Hello! Maybe I am wrong but there is no function for initialization that is called once when the graph is loaded for “heavy” stuff..

    As OnInit() is called once first time the node is active this can produce the needed allocations or heavy stuff in the middle of the game which is not optimal.

    Graph.cs

    Task.cs

    Fsm.cs

    Usage.cs

    #17099
    Gavalakis
    Keymaster

    Hello!

    Indeed there is no call in Tasks for when the graph is initialized. I will add something for this in a future update though.
    Thank you for your suggestion 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.