About 50 results
Open links in new tab
  1. how to change sprite ( Source sprite ) into UI Image using a script | unity

    May 17, 2024 · how to change a source sprite to a regular sprite into ui image using a script? I searched in the unity documentation and on youtube but there was no information on new versions

  2. Unity sprite with white transparent area shows white line at border in ...

    Apr 10, 2022 · 0 I have this sprite here which is part of a character. As you probably can see, it has a white area in the lower middle, which is semi-transparent. But when placed into a sprite renderer in …

  3. unity game engine - How to get child sprite from Multiple Sprite ...

    I want to get spesific sprite like 'ArmL' from spritesheet with multiple mode. I have lots of multiple sprites so I need to use like below; How can i achieve that ? Public Sprite[] itemArmors;

  4. Can you export sliced sprites (PNG images) in Unity?

    Apr 25, 2019 · So I have a Sprite 2d and UI in unity. (Png image) That contains many small images like buttons. So I slice them and I can use them individualy in unity. But the thing is that I want to export …

  5. Flipping a 2D Sprite Animation in Unity 2D - Stack Overflow

    Oct 26, 2014 · Not the animation clip. (This no longer happens in Unity) So, while the sprite flips, the minute the animation clip begins playing, it flips back right (as the only animation clip I have is for the …

  6. unity game engine - How do I get the 2d sprite gameObject in front of ...

    Feb 22, 2022 · In Unity everything is 3D, even if you switch to 2D perspective. So in your case you still have your camera, your sprite and your canvas in a 3D Dimension. To set your sprite in front of the …

  7. c# - Unity: How to resize a whole 2D sprite scene to any screen ...

    Jan 24, 2023 · The problem is that, as we made the main grid and objects as sprites, it works great on any 16:9 screen, but some of the screen space gets cut when it runs on any wider screen. How can …

  8. How to change Sprite of SpriteRenderer in Unity C#?

    Apr 22, 2023 · Move the sprite change code into the Awake or Start method. Or Make sure that the jump_image variable is assigned to the appropriate sprite in the Unity Inspector.

  9. unity game engine - Sprite Atlases and How to Use Them - Stack …

    Jul 5, 2023 · Sprite Atlases and How to Use Them Asked 2 years, 6 months ago Modified 2 years, 6 months ago Viewed 1k times

  10. Unity 2D: Alter sprite anchor point - Stack Overflow

    Jun 14, 2022 · I've got a plain 2D Capsule Sprite. I want it to rotate around a specific point instead of its very centre. In other programs, this point is called the anchor point. For context, I'm making a paddl...