1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SC.XR.Unity.Module_Authentication
- {
- public class API_Module_Authentication
- {
- public static void RegistAuthenticationEventCallback(Action<AuthenticationEvent, string> callback)
- {
- AuthenticationManager.Instance.onAuthenticationEventCallback += callback;
- }
- public static void UnRegistAuthenticationEventCallback(Action<AuthenticationEvent, string> callback)
- {
- AuthenticationManager.Instance.onAuthenticationEventCallback -= callback;
- }
- public static void Authentication()
- {
- AuthenticationManager.Instance.GetAuthenticationInfo();
- }
- }
- }
|