Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Sprite.Create how to provide associatedAlphaSplitTexture

Discussion in '2D' started by vizgl, May 30, 2023.

  1. vizgl

    vizgl

    Joined:
    Nov 4, 2014
    Posts:
    61
    Unity version 2020.3.48
    I wan't to make a copy of Sprite with custom changes. When I try to create Sprite by code I can't provide associatedAlphaSplitTexture to it, because method Sprite.Create don't have such a parameter. Source Sprite have this field filled.

    How can I make it work?