Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
김산 2025-08-29 19:41:19 +09:00
commit 65f2f17752

View File

@ -17,13 +17,19 @@ public class SpeechBubble : MonoBehaviour, ISpeechBubble
private void Start()
{
SetImage((Sprite)null);
HidePanel();
}
private void ShowPanel() => _panel.SetActive(true);
private void HidePanel() => _panel.SetActive(false);
public void SetImage(Sprite sprite) => _itemImage.sprite = sprite;
public void SetImage(string key) => DataManager.Instance.GetSprite(key);
public void SetImage(string key)
{
var sprite = DataManager.Instance.GetSprite(key);
SetImage(sprite);
}
public void Show(Sprite sprite)
{