コード例 #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);
        }