[A] appsflyer, SDK facade init method
This commit is contained in:
@@ -5,6 +5,8 @@ using UnityEngine.UI;
|
||||
|
||||
public class SDKTest : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private Button _InitBtn;
|
||||
[SerializeField]
|
||||
private Button _loginGuestBtn;
|
||||
[SerializeField]
|
||||
@@ -27,6 +29,7 @@ public class SDKTest : MonoBehaviour
|
||||
void Start()
|
||||
{
|
||||
TYSdkFacade.Instance.Init();
|
||||
_InitBtn.onClick.AddListener(TYSdkFacade.Instance.Init);
|
||||
_loginGuestBtn.onClick.AddListener(() => OnLogin(EAccoutType.hwGuest));
|
||||
_loginGoogleBtn.onClick.AddListener(() => OnLogin(EAccoutType.hwGoogle));
|
||||
_loginFbBtn.onClick.AddListener(() => OnLogin(EAccoutType.hwFacebook));
|
||||
|
||||
Reference in New Issue
Block a user