(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