搜尋套件、儲存庫與 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

原始碼儲存庫

使用此套件的專案

暫無相關資料。