1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- // using System;
- // using GFGGame.Launcher;
- // using UnityEngine;
- //
- // namespace GFGGame
- // {
- // public class ReYunSDKManager : SingletonMonoBase<ReYunSDKManager>
- // {
- // public const string APPKEY = "f7c3bc1b98b6d0a6b5a1642691cad1f7";
- //
- // private void Awake()
- // {
- // Tracking.Instance.preInit(APPKEY);
- //
- // //Tracking.Instance.setAttributionCalllbackDelegate(OnAttibutionCallback);
- // //Application.deepLinkActivated += OnDeepLinkActivated;
- // //Tracking.Instance.setDeferredDeeplinkCalllbackDelegate(OnDeeplinkCallback);
- // //Tracking.Instance.setPrintLog(LauncherConfig.onDebug > 0);
- // }
- //
- // private void Start()
- // {
- // Tracking.Instance.init(APPKEY, "_default_");
- // //if (!string.IsNullOrEmpty(Application.absoluteURL))
- // //{
- // // OnDeepLinkActivated(Application.absoluteURL);
- // //}
- // LogUtil.LogDev("ReYunSDKManager init");
- // }
- //
- // public void Init()
- // {
- //
- // }
- //
- // public void Register(string account)
- // {
- // LogUtil.LogDev($"ReYunSDKManager Register {account}");
- // Tracking.Instance.register(account);
- // }
- //
- // public void Login(string account)
- // {
- // LogUtil.LogDev($"ReYunSDKManager Login {account}");
- // Tracking.Instance.login(account);
- // }
- //
- // public void SetDD(string orderId, float price)
- // {
- // Tracking.Instance.setDD(orderId, "CNY", price);
- // }
- //
- // private void OnAttibutionCallback(string result, int status)
- // {
- //
- // }
- //
- // private void OnDeeplinkCallback(string msg)
- // {
- //
- // }
- //
- // private void OnDeepLinkActivated(string url)
- // {
- // Tracking.Instance.setEvent("invoke");
- // Debug.Log("onDeepLinkActivated function call from unity url:" + url);
- // }
- //
- // }
- // }
- //
|