기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Authentication

Open Unity Dashboard

Authentication

LiveOps
​
​
Authentication
  • Overview
  • Get started
  • Concepts
    • How Authentication works
    • Approaches to authentication
    • Sessions and cached players
    • Manage profiles
    • Manage player names
    • Manage linked external identities
    • Player prefs
    • Delete accounts
    • Authentication native SDK
    • Digital Services Act Notifications
  • Tutorials
  • Reference
  • Privacy and consent
  1. Unity Authentication

프로필 관리

Create and manage multiple player profiles on a single device to allow players to sign in with different accounts.
읽는 시간 1분
최근 업데이트: 9달 전

플레이어는 프로필을 사용해 하나의 기기에서 여러 계정에 로그인할 수 있습니다. 프로필을 통해
PlayerPrefs
에 저장되는 값이 분리되어 저장됩니다. 프로필은 자동으로 유지되지 않습니다. 프로필을 어떻게 관리할지는 개발자가 결정해야 합니다.

프로필 전환

플레이어가 로그아웃한 상태에서만 현재 프로필을 전환할 수 있습니다.
AuthenticationService.Instance.SwitchProfile(profileName)
를 사용합니다. 프로필 이름은 영숫자 값, `-`, `_`만 지원하며 최대 길이는 30자입니다.
플레이어가 로그아웃하지 않은 상태라면
SwitchProfile
에서 에러 코드
AuthenticationErrorCodes.ClientInvalidUserState
로
AuthenticationException
이 발생합니다.
유효하지 않은 이름을 사용하면
SwitchProfile
에서 에러 코드
AuthenticationErrorCodes.ClientInvalidProfile
로
AuthenticationException
이 발생합니다.

현재 프로필

현재 프로필을 확인하려면
AuthenticationService.Instance.Profile
을 사용합니다.

기본 프로필

초기화 옵션에서 제공되는 프로필이 없는 경우
default
값이 사용됩니다.

초기화 시 프로필 설정

UnityServices
를 초기화할 때 선택 사항으로 프로필을 설정할 수 있습니다. 프로필이 제공되지 않은 경우
AuthenticationService
는
default
값을 사용합니다.
async Task InitializeUnityServices(){ var options = new InitializationOptions(); options.SetProfile(“test_profile”); await UnityServices.InitializeAsync(options);}


Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • 프로필 전환

    • 현재 프로필

    • 기본 프로필

    • 초기화 시 프로필 설정


이 페이지의 문제 보고