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; }
public static PlayerIdentityBackendSubsystemDescriptor RegisterDescriptor(PlayerIdentityBackendSubsystemCInfo param) { var desc = new PlayerIdentityBackendSubsystemDescriptor(param); return(SubsystemRegistration.CreateDescriptor(desc) ? desc : null); }