프로필 관리
Create and manage multiple player profiles on a single device to allow players to sign in with different accounts.
읽는 시간 1분최근 업데이트: 한 달 전
플레이어는 프로필을 사용해 하나의 기기에서 여러 계정에 로그인할 수 있습니다. 프로필을 통해
PlayerPrefs프로필 전환
플레이어가 로그아웃한 상태에서만 현재 프로필을 전환할 수 있습니다.AuthenticationService.Instance.SwitchProfile(profileName)SwitchProfileAuthenticationErrorCodes.ClientInvalidUserStateAuthenticationExceptionSwitchProfileAuthenticationErrorCodes.ClientInvalidProfileAuthenticationException현재 프로필
현재 프로필을 확인하려면AuthenticationService.Instance.Profile기본 프로필
초기화 옵션에서 제공되는 프로필이 없는 경우default초기화 시 프로필 설정
UnityServicesAuthenticationServicedefaultasync Task InitializeUnityServices(){ var options = new InitializationOptions(); options.SetProfile(“test_profile”); await UnityServices.InitializeAsync(options);}