搜索插件、代码仓与 APP 分类

插件详情v2.0.0

flutter_embed_unity

通过将 Unity 嵌入为小部件,让您的 Flutter 应用程序发挥 Unity 3D 的强大功能。适用于在应用中添加 3D、游戏或增强现实(AR)功能。

AndroidiOS
近 30 天下载
2.2万
喜欢数
50
Pub 分数
150

安装插件

flutter pub add flutter_embed_unity

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

flutter_embed_unity 通过将 Unity 作为原生小部件嵌入,实现了 Unity 3D 内容与 Flutter 应用的无缝集成。它使开发者能够在 Flutter 应用中利用 Unity 的高级 3D 渲染、游戏引擎和 AR 功能。该包支持 Android 和 iOS 平台,非常适合需要高性能图形的交互式体验。通过 pub 进行简单设置,它弥合了 Flutter 的 UI 灵活性与 Unity 强大的游戏开发工具之间的差距。

适合场景

  • 添加3D可视化
  • 创建移动游戏
  • 实施增强现实功能
  • 集成交互式模拟
  • 通过沉浸式内容提升应用参与度

主要特点

  • 将 Unity 嵌入为 Flutter 小部件
  • 支持 Android 和 iOS
  • 简单的公共包集成
  • 与 Unity 的双向通信
  • 针对移动设备优化的性能

适合对象

  • 开发3D或AR应用的开发者
  • 使用Flutter的游戏开发者
  • 将Flutter UI与Unity资源结合的团队
  • 需要丰富交互体验的应用程序
  • 需要跨平台3D支持的项目

使用建议

  • 需要 Unity 项目设置
  • 仅限 Android 和 iOS
  • 可能增加应用大小
  • 需要仔细的内存管理
  • 状态同步中的潜在复杂性

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Federated plugin overview

[!NOTE] See the main README of the app-facing package for details.

This is a containing folder for a federated Flutter plugin for embedding Unity 3D into Flutter apps, containing:

  • flutter_embed_unity: this is the main app-facing package, which you should depend on in your Flutter app's pubspec.yaml
  • flutter_embed_unity_2022_3_android: the Android platform package for this plugin, supporting Unity 2022.3 LTS
  • flutter_embed_unity_2022_3_ios: the iOS platform package for this plugin, supporting Unity 2022.3 LTS
  • flutter_embed_unity_platform_interface: The package that glues the app-facing package to the platform package(s). This package declares an interface that any platform package must implement to support the app-facing package. Having a single package that defines this interface ensures that all platform packages implement the same functionality in a uniform way.
  • example_unity_2022_3_project: a Unity project for building into the example project, for demo and development purposes

所属分类

依赖

依赖清单 3 项

  • flutter_embed_unity_2022_3_ios^2.0.0
  • flutter_embed_unity_6000_0_android^2.0.0
  • flutter_embed_unity_platform_interface^2.0.0

源码仓库

使用此插件的项目

暂无相关数据。