Show / Hide Table of Contents

Method DuplicateSprite

| Edit this page View Source

DuplicateSprite(Sprite)

Creates a readable copy of a Sprite.
Declaration
public static Sprite DuplicateSprite(Sprite sprite)
Parameters
Type Name Description
Sprite sprite Source sprite.
Returns
Type Description
Sprite A new Sprite with a readable copy of its texture region, or null if the texture is null.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾