This commit is contained in:
Caiyanpeng committed 2022-03-09 09:11:53 +08:00
1 parent c3514df331
commit e3f5280d94
14 files changed
+191 -20

No files matched your search

+13
View File
@@ -840,5 +840,18 @@ namespace Assets.Scripts
return time.ToString("yyyy-MM-dd");
}
}
public static IEnumerator ShareImageToWx(int scene, byte[] image)
{
if (App.weChatController.IsWeChatAppInstalled())
{
App.weChatController.ShareImageToWX(scene, image);
}
else
{
Utils.showToast(null, "未安装微信");
}
yield return null;
}
}
}