using Assets.MyGame.Scripts.Net; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class UIHome_BY_ServicePanel : SubUIBase { public Toggle toggle_DefaultQuestion; public Toggle toggle_YouChangeIChange; public Toggle toggle_OnlineService; public TMP_InputField input_Text; public override void Awake() { base.Awake(); toggle_DefaultQuestion.onValueChanged.AddListener((a) => { if (a) { //APIRequestList.GetOnlineCustomers } }); } // Update is called once per frame void Update() { } }