コード例 #1
0
        public static void RegisterDescriptor()
        {
            PlayerIdentityLoginSubsystemDescriptor.RegisterDescriptor(
                WeChatLoader.k_SubsystemId,
                typeof(WeChatPlayerIdentitySubsystem),
                new RuntimePlatform[]
            {
                RuntimePlatform.IPhonePlayer,
                RuntimePlatform.Android
//                    RuntimePlatform.OSXEditor,
//                    RuntimePlatform.WindowsEditor
            },
                RuntimePlatform.IPhonePlayer,
                "微信",
                k_ProviderId);
        }
コード例 #2
0
 public static void RegisterDescriptor()
 {
     PlayerIdentityLoginSubsystemDescriptor.RegisterDescriptor(
         AppleLoader.k_SubsystemId,
         typeof(SignInWithApplePlayerIdentitySubsystem),
         new RuntimePlatform[]
     {
         RuntimePlatform.OSXEditor,
         RuntimePlatform.IPhonePlayer,
         RuntimePlatform.Android,
         RuntimePlatform.WindowsEditor
     },
         RuntimePlatform.IPhonePlayer,
         "Sign in with Apple",
         k_ProviderId);
 }