Make sprites common

This commit is contained in:
lvrossem
2023-03-16 13:00:05 +01:00
parent 472d6a2409
commit 08cccd27b5
262 changed files with 22 additions and 1 deletions

View File

@@ -622,7 +622,7 @@ public class GameController : MonoBehaviour
private void ChangeSprite(string spriteName)
{
// Load the new sprite from the Resources folder
Sprite sprite = Resources.Load<Sprite>("SpellingBee/images/" + spriteName);
Sprite sprite = Resources.Load<Sprite>("Common/Images/" + spriteName);
// Set the new sprite as the Image component's source image
wordImage.sprite = sprite;