feat: 뒤끝 서버 연결 테스트 및 에셋 추가

This commit is contained in:
aube.lee
2025-02-26 08:52:49 +09:00
parent 4479a2ef19
commit 670f302431
31 changed files with 590 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// 뒤끝 SDK namespace 추가
using BackEnd;
namespace TON
{
/// <summary>
/// 랭킹 데이터 관리를 위한 뒤끝 서버 매니저
/// </summary>
public class BackendManager : MonoBehaviour
{
void Start()
{
var bro = Backend.Initialize(); // 뒤끝 초기화
// 뒤끝 초기화에 대한 응답값
if (bro.IsSuccess())
{
Debug.Log("초기화 성공 : " + bro); // 성공일 경우 statusCode 204 Success
}
else
{
Debug.LogError("초기화 실패 : " + bro); // 실패일 경우 statusCode 400대 에러 발생
}
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 997aacd350268d041bba7f34cf767394
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: