About 18,400 results
Open links in new tab
  1. Unity GUIEditor - how can I access the sprites within my texture from ...

    Jul 7, 2022 · I want to access the sprites under the png I've got selected. (Which has already been sliced in the sprite editor) Example: Here I know how I can make my GUIEditor see I have Druid_jump …

  2. How to access sliced sprites in unity? - Stack Overflow

    Jul 22, 2020 · I'm trying to set the pixels of a tile to the pixels of a sprite. I have a sliced spritesheet called "lofiEnvironment2" in the Resources folder. I can't drag the child sprites to inspecto...

  3. 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

  4. 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 …

  5. Problem when flipping a 2D sprite in Unity - Stack Overflow

    May 21, 2024 · 1 I have a 2D character that can move left and right and jump. the character's original sprite is from left to right (head in the right direction). when the character moves backwards, it turns …

  6. Why does Resources.Load <Sprite> return null? - Stack Overflow

    Apr 19, 2016 · Unity's scripting reference doesn't says that you need write <Sprite> right after Load. So I had problem with loading sprites, although my sprite was in Resources directory.

  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. c# - Scale GameObject in Unity - Stack Overflow

    Aug 31, 2016 · How can I increase / decrease the size of objects in Unity? Example: public GameObject sprite; public float scale = 2.0f; void ScaleResolution() { sprite = sprite*scale; //epic string! }

  9. Unity 6 - can't set the sprite of an UI image - Stack Overflow

    Dec 5, 2024 · I've always been able to drag and drop a sprite into the inspector, setting the sprite of a UI image to the sprite. But I can't this time, even though the sprite is set as Sprite (2D and UI).

  10. c# - Unity: Saving/Loading Sprites as Json - Stack Overflow

    Jun 2, 2017 · This also works great, but Unity saves the Sprite InstanceID, which always changes on start, so if I exit Unity and load my data, it will get the wrong Image. My Json: