This commit is contained in:
2026-07-15 15:11:39 +08:00
parent 50b1f00790
commit b1a7167ca7
+29 -1
View File
@@ -6,10 +6,38 @@ using UnityEditor;
public class BrigdeIOS public class BrigdeIOS
{ {
[DllImport("__Internal")]
public static extern void addH5Field(int field1, int field2, int field3, int field4, int field5, string field6, string field7, string dark_url, string light_url, bool is_gift, string web_through_str, string click_add_time);
// [DllImport("__Internal")]
// public static extern void SetTouchWebview(bool flag, bool force = false);
// [DllImport("__Internal")]
// public static extern void ScrollWebview(float dx, float dy);
[DllImport("__Internal")]
public static extern void SetPadding(float left, float top, float right, float bottom);
[DllImport("__Internal")] [DllImport("__Internal")]
public static extern void SetDarkThough(bool though); public static extern void SetDarkThough(bool though);
[DllImport("__Internal")] [DllImport("__Internal")]
public static extern void openWebview(); public static extern void SetBtn(int left, int top, int right, int bottom);
[DllImport("__Internal")]
public static extern void ShowH5View(bool flag);
[DllImport("__Internal")]
public static extern void SetIconProgress(float val);
[DllImport("__Internal")]
public static extern void ShowFlyBtn(bool flag);
[DllImport("__Internal")]
public static extern void setFlyBtnTag(bool flag);
[DllImport("__Internal")]
public static extern void setRewardBtnTag(bool flag);
[DllImport("__Internal")]
public static extern void copyText(string text);
[DllImport("__Internal")]
public static extern void OpenWv();
[DllImport("__Internal")] [DllImport("__Internal")]
public static extern void showGameA(bool flag); public static extern void showGameA(bool flag);
} }