Search Unity

Gradient colorKeys and alphaKeys getting allocations

Discussion in 'Editor & General Support' started by PopovPingle, Oct 23, 2019.

  1. PopovPingle

    PopovPingle

    Joined:
    May 2, 2019
    Posts:
    17
    Hello,
    How can i get colorKeys and alphaKeys without memory allocations on every invokation?
    It looks terrible that i cant get it without allockations by this way. In my game it produce up to 8kb
    Thanks