liuzhiwei
2020-11-25 925d4b4b286a5d8dff4b62be0ceb25db0c45fedc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using UnityEngine;
using TMPro;
 
/**
 * 击杀小怪掉落
 * @Author: chenxin
 * @Date: 2020-11-25 11:20:49
 */
namespace KTGMGemClient
{
    public class DropGold : MonoBehaviour
    {
        public TextMeshProUGUI GoldText;
 
        public void SetDrop(int drop)
        {
            if (GoldText == null) return;
 
            GoldText.text = $"+{drop}";
        }
    }
}