feat: Lobby ui 작업 1차
This commit is contained in:
1 parent
340617071a
commit
c54ab55c5a
15 files changed
+1904
-1058
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
@@ -23,5 +24,10 @@ namespace TON
|
||||
var playerColor = playerType == "b" ? "Black" : "White";
|
||||
return LoadAsset<Sprite>($"UI/Player/{playerColor}_Cat", out result);
|
||||
}
|
||||
|
||||
public bool LoadStageIcon(string stageId, out Sprite result)
|
||||
{
|
||||
return LoadAsset<Sprite>($"UI/Stage/stage_{stageId}", out result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user