Skip to content

nhn/toast.gamebase.unity.sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gamebase Sample App for Unity

Gamebase SDK를 쉽게 적용할 수 있도록 SDK 개발자가 추천하는 흐름을 Sample App으로 직접 구현했습니다.

Sample App Configuration

Sample App을 에디터에서 실행할 때는 Intro 씬을 열어 플레이를 진행합니다.

  • Assets/Sample/Scene/Intro.scene

Scene Configuration

Intro

Login

  • Login
  • Register Push
  • Smart Downloader
    • StartDownload

Main

  • Store Popup
    • Purchase
  • Settings Popup
    • Logout
    • Withdraw
    • PushSetting
    • Add Mapping
    • Add Mapping Forcibly
    • Remove Mapping
    • TransferAccount
  • GameInfo Popup
  • Leaderboard Popup
    • Get single user info
    • Get multiple user info by range
  • Webview
  • Smart Downloader
    • StartDownload

Ingame

  • TAA
    • LevelUp
  • Leaderboard
    • Set single user score

Build Settings

Gamebase Setting Tool 3.0.0이 적용되었습니다. 가이드를 확인하여 적용합니다.

TOAST Console Settings

Sample App의 모든 기능을 사용하기 위해서 TOAST에 신규 프로젝트를 등록하고 설정해야 합니다.

App

앱, 클라이언트 상태를 설정합니다.

IdP Settings

인증 정보를 추가합니다.

Purchase(IAP) Settings

Purchase(IAP)를 설정합니다.

Push Settings

Push를 설정합니다.

Operaction

앱 운영 시 사용합니다. 공지, 점검 등을 등록할 수 있습니다.

Unity Settings

GamebaseUnitySDKSettings

GamebaseUnitySDKSettings 컴포넌트의 Inspector를 설정합니다.

AndroidManifest

AndroidManifest.xml 파일에서 아래 목록에 있는 값들을 설정합니다.

  • APP_PACKAGE_NAME

FCM

google-services-json.xml 파일에서 아래 목록에 있는 값들을 설정합니다.

  • DEFAULT_WEB_CLIENT_ID
  • GCM_DEFAULTSENDERID
  • FIREBASE_DATABASE_URL
  • GOOGLE_APP_ID
  • GOOGLE_API_KEY
  • GOOGLE_STORAGE_BUCKET

설정방법은 아래 링크를 참조해 주세요.