캐릭터 데이터 불러오기 및 캐릭터 선택 / 생성 화면 간의 이동 로직 적용
This commit is contained in:
18
Gameton-06/Assets/Gameton/Scripts/GameData/PlayerData.cs
Normal file
18
Gameton-06/Assets/Gameton/Scripts/GameData/PlayerData.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TON
|
||||
{
|
||||
[System.Serializable]
|
||||
public class PlayerData
|
||||
{
|
||||
public int id;
|
||||
public string type;
|
||||
public string name;
|
||||
public float health;
|
||||
public float score;
|
||||
public int chance;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e3d83c2b2016d524b940e93a53611843
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user