31 lines
563 B
C#
31 lines
563 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Kunpo.Privacy
|
|
{
|
|
public class PrivacyProxy : MonoBehaviour
|
|
{
|
|
#if SDK_OHAYOO
|
|
public static ByteDance.Union.LGUser LoginUser;
|
|
#endif
|
|
public static void OpenPrivacyTerms()
|
|
{
|
|
var prefab = Resources.Load<GameObject>("PrivacyTermsCanvas");
|
|
if (prefab)
|
|
{
|
|
Object.Instantiate(prefab);
|
|
}
|
|
}
|
|
|
|
public static void OpenLogoff()
|
|
{
|
|
var prefab = Resources.Load<GameObject>("LogoffCanvas");
|
|
if (prefab)
|
|
{
|
|
Object.Instantiate(prefab);
|
|
}
|
|
}
|
|
}
|
|
}
|