Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Sprite clipping

Discussion in '2D' started by devuser123, Dec 27, 2013.

  1. devuser123

    devuser123

    Joined:
    Sep 7, 2013
    Posts:
    2
    Can anyone point me some sample code to do sprite clipping.

    I'm trying to achieve if a sprite leaves a boundary of rect it will get clip.

    thanks :)