Degullmok-client/Assets/Trash Can_JY/CoinUITestScript.cs
HaeinLEE eaaeaefd28 Revert "Merge branch 'main' of https://github.com/Degulleo/DegullMok-Client into DO-35-리플레이씬에서-기보-데이터로-돌-놓고-없애기"
This reverts commit a6846bb41deea026602bc2f4cf3da9ffbcbba94b, reversing
changes made to c8f59a7080b2b2896248c04952ae9383a54f0ddf.
2025-03-20 15:42:03 +09:00

26 lines
541 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoinUITestScript : MonoBehaviour
{
[SerializeField] private CoinsPanelController coinsPanelController;
public void OnClickAddCoin()
{
coinsPanelController.AddCoins(100, () =>
{
Debug.Log("Add coin 후 동작");
});
}
public void OnClickRemoveCoin()
{
coinsPanelController.RemoveCoins(() =>
{
Debug.Log("코인을 제거한 후 동작");
});
}
}