mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 23:37:13 +08:00
(client) chore:Clean code
This commit is contained in:
@@ -5,15 +5,15 @@ using UnityEngine.UI;
|
||||
|
||||
namespace Prefab
|
||||
{
|
||||
public class ButtonPrefab:MonoBehaviour
|
||||
public class ButtonPrefab : MonoBehaviour
|
||||
{
|
||||
public Button button;
|
||||
public TMP_Text text;
|
||||
|
||||
public string Label
|
||||
{
|
||||
get{return text.text;}
|
||||
set{text.text = value;}
|
||||
get { return text.text; }
|
||||
set { text.text = value; }
|
||||
}
|
||||
|
||||
public void AddListener(UnityAction callback)
|
||||
|
||||
Reference in New Issue
Block a user