Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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
     
unityunity