유닛 엑셀 작업 완료
This commit is contained in:
parent
4df945a99a
commit
bb3c73ae50
|
|
@ -168,6 +168,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: f71dc23ac80b51f4087e4120eb7f7893, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
testlist: 0100000002000000030000000400000005000000
|
||||
--- !u!1 &753435365
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -9,14 +9,21 @@ public class GameManager : DontDestroy<GameManager>
|
|||
public eScene NowScene;
|
||||
public bool Over;
|
||||
|
||||
private CoroutineHandle corExcel;
|
||||
|
||||
/// <summary>
|
||||
/// 현재 엑셀 처리가 끝났는지 확인하는 부분.
|
||||
/// </summary>
|
||||
public bool isExcel { get { return corExcel != null || corExcel.IsRunning; } }
|
||||
|
||||
protected override void OnStart()
|
||||
{
|
||||
DownlodeResp request = new DownlodeResp();
|
||||
request.Request((data) =>
|
||||
{
|
||||
Statics.excelDatas = JsonConvert.DeserializeObject<ExcelDatas>(Crypto.Instance.Decompress(data.data));
|
||||
corExcel = Timing.RunCoroutine(Statics.excelDatas.ToJson());
|
||||
Statics.version = data.version;
|
||||
Timing.RunCoroutine(Statics.excelDatas.ToJson());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ public class Test : MonoBehaviour
|
|||
[ContextMenu("test")]
|
||||
public void test()
|
||||
{
|
||||
Debug.Log(JsonConvert.SerializeObject(testlist));
|
||||
//Debug.Log(JsonConvert.SerializeObject(testlist));
|
||||
//DownlodeResp request = new DownlodeResp();
|
||||
//request.Request((data) =>
|
||||
//{
|
||||
|
|
|
|||
Loading…
Reference in New Issue