mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-14 20:00:09 +00:00
[fix] Fixed Download interface caused the iOS platform to fail to build
This commit is contained in:
@@ -898,8 +898,10 @@ namespace XCharts.Runtime
|
||||
else return valueOrRate;
|
||||
}
|
||||
|
||||
#if UNITY_WEBGL
|
||||
[DllImport("__Internal")]
|
||||
private static extern void Download(string base64str, string fileName);
|
||||
#endif
|
||||
|
||||
public static Texture2D SaveAsImage(RectTransform rectTransform, Canvas canvas, string imageType = "png", string path = "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user