add android platform build support (WIP)
This commit is contained in:
Binary file not shown.
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user