Skip to main content
16 events
when toggle format what by license comment
Jul 7, 2022 at 4:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Mar 9, 2022 at 3:05 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Nov 9, 2021 at 3:04 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jul 12, 2021 at 3:03 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Mar 14, 2021 at 3:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Feb 12, 2021 at 2:36 answer added DMGregory timeline score: 0
Feb 8, 2021 at 14:22 review Close votes
Feb 11, 2021 at 20:39
Feb 8, 2021 at 14:14 comment added D.Kallan Assuming the fruit itself has an image, when you pick it up, you can assign the sprite from the fruit's sprite-renderer to the sprite-renderer of your score icon, right? You might have to make the score icon accessible to the player / fruit (depending who detects the pickup) so that the one that detects/removes the fruit can say scoreIcon.GetComponent<SpriteRenderer>().sprite = fruit.sprite, for example. Ofc you can also just store a reference to said sprite renderer, so you don't have the GetComponent<...>() every time. (dont store the whole thing if you only need one component)
Feb 8, 2021 at 14:08 comment added elliot727 @D.Kallan I have an image of the fruit next to the score but I want the image to change dependingo n what fruit they collecy
Feb 8, 2021 at 14:02 comment added D.Kallan Hi, like Zibelas also mentioned, could you provide a bit more details as to what the icon is used for and what you have tried so far? Without that, a lot is possible and a lot of guessing has to be done.
S Feb 8, 2021 at 14:00 history suggested OKprogrammer CC BY-SA 4.0
Grammar, capitalization, punctuation, etc.
Feb 8, 2021 at 14:00 review Suggested edits
S Feb 8, 2021 at 14:00
Feb 8, 2021 at 13:33 comment added elliot727 I use an image on a canvas
Feb 8, 2021 at 13:33 history edited elliot727 CC BY-SA 4.0
added 62 characters in body
Feb 8, 2021 at 13:32 comment added Zibelas If we do not even know how you have your current one icon setup, we can't tell you how to change it to a different one.
Feb 8, 2021 at 13:21 history asked elliot727 CC BY-SA 4.0