예제 #1
0
        private PlayerIdentityBackendSubsystemDescriptor(PlayerIdentityBackendSubsystemCInfo param)
        {
            id          = param.id;
            displayName = param.displayName;
            subsystemImplementationType = param.implementationType;

            supportPhoneNumberLogin    = param.supportsPhoneLogin;
            supportsEmailPasswordLogin = param.supportsEmailPasswordLogin;
            supportsAnonymousLogin     = param.supportsAnonymousLogin;
            supportsTextMessageLogin   = param.supportsTextMessageLogin;
        }
예제 #2
0
        public static PlayerIdentityBackendSubsystemDescriptor RegisterDescriptor(PlayerIdentityBackendSubsystemCInfo param)
        {
            var desc = new PlayerIdentityBackendSubsystemDescriptor(param);

            return(SubsystemRegistration.CreateDescriptor(desc) ? desc : null);
        }