chicken_dy/Assets/TKGSDK/Common/SDKTools/TKGAndroidCNHide.cs

21 lines
409 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TKGAndroidCNHide : MonoBehaviour
{
private void Awake()
{
#if UNITY_ANDROID
if (TKGSDKManager.Instance.GetChannel() == Touka.AppChannel.GooglePlay)
{
gameObject.SetActive(true);
}
else
{
gameObject.SetActive(false);
}
#endif
}
}