[FR] OnDestroy

Forums 💬 FlowCanvas ⚙️ Support [FR] OnDestroy

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12413
    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!

      #12414
      Gavalakis
      Keymaster

        Hey,

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

        Thanks!

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