add android platform build support (WIP)

This commit is contained in:
CroakFang
2022-09-10 00:52:11 +08:00
parent e1e4b64002
commit 9d42704ec6
2 changed files with 0 additions and 6 deletions
Binary file not shown.
-6
View File
@@ -28,12 +28,6 @@ public class UmaViewerMain : MonoBehaviour
} }
private void Awake() private void Awake()
{ {
if(Application.platform == RuntimePlatform.Android)
{
AndroidJavaObject activity = new AndroidJavaObject("com.Katboi01.UmaViewer.MainActivity");
activity.Call("GetRoot");
}
Application.targetFrameRate = -1; Application.targetFrameRate = -1;
Instance = this; Instance = this;
AbList = UmaDatabaseController.Instance.MetaEntries.ToList(); AbList = UmaDatabaseController.Instance.MetaEntries.ToList();