[FR] OnDestroy

FlowCanvas Forums Support [FR] OnDestroy

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2814
    elvisish
    Participant

    It would be very useful to have OnDestroy for situations where a rendertexture is created on Awake or Start in a graph, and you’d want to destroy the rendertexture to free up memory, but you wouldn’t want to do it on Disable, as you’d have to make sure the rendertexture was created in OnEnable, which might not be preferential. OnDestroy would be a great compliment to OnStart and OnAwake!

    #2816
    Gavalakis
    Keymaster

    Hey,

    Although it is a bit more tricky than it sounds to add, I will see to it 🙂

    Thanks!

    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.