TippingGame/F8Framework
About
F8 Framework is an elegant, lightweight, and intuitive game framework based on the Unity engine. Its components are organized around F8’s one-click startup, and the framework is designed to enable game development with minimal usage cost.
Games & EmulationWhat you can do
- 1. Hot update version manager (built-in) - Select build platform, output path, version number, remote asset URL, enable hot updates, full build, subpackage, or empty build.
- 2. Code Hot Update (Import HybridCLR) - HybridCLR is a feature-complete, zero-cost, high-performance, low-memory near-perfect Unity cross-platform native C# hot update solution.
- 3. Code obfuscation and protection (Import Obfuz) - Obfuz is an open-source, powerful, user-friendly, and reliable Unity code obfuscation and protection solution that fully meets the needs of commercial game projects.
- 4. AI Automation (Import unity-mcp) - unity-mcp acts as a bridge, allowing AI assistants (like Claude, Cursor) to interact directly with your Unity Editor via a local MCP (Model Context Protocol) Client. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Measured star growth
- in 24h
- -1
- in 7 days
- +1
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
Tests/SDKManager/README_EN.md
OriginalF8 SDKManager
Introduction (Simply press F8 to start game development without distractions)
Unity F8 SDKManager Component
Cross-platform SDK integration system that provides unified interfaces for native platform interactions across multiple channels.
Plugin Installation (Requires Core Framework First)
Note! Built into → F8Framework Core: https://github.com/TippingGame/F8Framework.git
Method 1: Download files directly and import to Unity
Method 2: Unity → Menu Bar → Window → Package Manager → "+" → Add Package from git URL → Enter: https://github.com/TippingGame/F8Framework.git
Code Examples
// Launch SDK, platform ID, channel ID
FF8.SDK.SDKStart("1", "1");
// Login
FF8.SDK.SDKLogin();
// Logout
FF8.SDK.SDKLogout();
// Switch accounts
FF8.SDK.SDKSwitchAccount();
// Load video advertisement
FF8.SDK.SDKLoadVideoAd("1", "1");
// Play video advertisements
FF8.SDK.SDKShowVideoAd("1", "1");
// payment
FF8.SDK.SDKPay("serverNum", "serverName", "playerId", "playerName", "amount", "extra", "orderId",
"productName", "productContent", "playerLevel", "sign", "guid");
// Update user information
FF8.SDK.SDKUpdateRole("scenes", "serverId", "serverName", "roleId", "roleName", "roleLeve", "roleCTime", "rolePower", "guid");
// SDK exits the game
FF8.SDK.SDKExitGame();
// Native Tips
FF8.SDK.SDKToast("Native Toast");
Android Project Usage Guide
If you need to integrate privacy policies or interact with Android SDKs, follow the manual instructions below
- (Note: First determine which Gradle version your Unity uses) Unity Documentation on Gradle Versions
- The framework only supports the following versions. You can also check Unity's Gradle version in the installation directory(
C:\Program Files\Unity\Hub\Editor\2021.3.15f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib) - Unity 2021 versions(2021.2 / 2021.1 starting from 2021.1.16f1:Gradle6.1.1)

- Unity 2022 versions(2022.1:Gradle6.1.1)

- Unity 2023 versions(2023.1:Gradle7.6)

- Unity 6000 versions


- Based on your version, select the correct directory and copy the following two files to your project's
Assets/Plugins/Androidfolder. - Add the
.xmlextension to the file AndroidManifest.xml - Add the
.aarextension to the file UnityAndroidDemo-release.aar

- Note: Each Unity version has slight differences. After switching Unity versions, manually delete these two files.
- (Optional) Build an AAR using an Android project:
- Download UnityAndroidDemo2021.3.15f1.zip to export UnityAndroidDemo-release.aar and AndroidManifest.xml
- Download Android Studio (change the language to English in the top-right corner).
- How to choose a version (depends on the Gradle version):
- Unity 2021 / 2022 / 2023:
android-studio-2022.2.1.20-windows - Unity 6000 / 6000.3:
2025.3.1 Patch 1
- After unzipping and opening the project, go to Settings → Build → Build Tools → Gradle → Gradle JDK and set the JDK to the one included with Unity (
C:\Program Files\Unity\Hub\Editor\6000.3.10f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK) - In Project Structure → Project / SDK Location, modify the Gradle version and set the SDK to Unity's built-in SDK (
C:\Program Files\Unity\Hub\Editor\6000.3.10f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK). - Replace the
classes.jarfile in the libs directory with (C:\Program Files\Unity\Hub\Editor\6000.3.10f1\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\mono\Release\Classes\classes.jar) - From the top menu, select Build → Rebuild Project. After exporting, an
UnityAndroidDemo-release.aarfile will be generated.(Starting from the 2025 version, the button has been changed to Assemble Module) - Use a ZIP-capable compression tool to delete the
libs/classes.jarfile inside the AAR. - Open the root directory's
classes.jarand delete theUnityPlayerActivity.javafile (not required for Unity 2023 / 6000).
- Only four Unity versions of Android projects are provided (if you need other versions, please modify them yourself)
- Unity 2021.3.15f1: UnityAndroidDemo2021.3.15f1.zip
- Unity 2022.3.52f1: UnityAndroidDemo2022.3.52f1.zip
- Unity 2023.2.20f1 (deprecated by Unity): UnityAndroidDemo2023.2.20f1.zip
- Unity 6000.0.24f1: UnityAndroidDemo6000.0.24f1.zip
- After a successful build, you will see this interface:
- If you don’t want to display this interface,
- Open AndroidManifest.xml and swap
MoeNativeActivitywithMainActivity. - Also modify the
AndroidManifest.xmlinside UnityAndroidDemo-release.aar
iOS Project Usage Guide
- Modify these two files for SDK integration: F8SDKInterfaceUnity.h and F8SDKInterfaceUnity.mm
WebGL Games
Video Tutorial: 【Unity Framework】(22)Packaging WebGL Games
- Note: WebGL cannot synchronously load AssetBundle resources, but can synchronously load Resources resources
WeChat Mini Game Integration Method
Video Tutorial: 【Unity Framework】(23)Packaging WeChat Mini Games
- Browse the usage of WebGL to WeChat Mini Game plugin, download unitypackage and import into your game project
- Delete
LitJson.dllfrom the WX-WASM-SDK-V2 plugin (Note: Unity China Engine also has it, recommended to keep the one in F8Framework)
- Add F8 framework's
LitJsonreference to the two.asmdeffiles under the WX-WASM-SDK-V2 directory'sEditorandRuntimerespectively
- On the F5 packaging tool interface, select three settings options.

- Append MD5 to AB names after packaging √
- Force change asset loading mode to remote √
- Disable Unity cache system on WebGL platform √
- After using forced remote loading mode, you need to upload the
AssetBundlesdirectory under the packaged project'sStreamingAssetsfolder to CDN
- After using forced remote loading mode, you need to upload the
- (Note) Since WeChat Mini Games can only use remote AB loading, please press F5, configure the asset remote address, and build the game once.

- You can also directly modify the "AssetRemoteAddress" parameter in GameVersion.json here

- Build settings.

- When the first package resource loading method is CDN, upload the first package to CDN.

- To use WeChat's cache system, manually enter the CDN address and Bundle Path Identifier in MiniGameConfig (default is
StreamingAssets, should be changed toAssetBundles).
If the build fails: 1. Use Unity's built-in Build once and try again, 2. Use Build and convert once and try again
Douyin Mini Game Integration Method
- Except for not needing to remove LitJson.dll, everything else is the same as WeChat Mini Games
- Browse the WebGL Solution Integration Process plugin usage method
- To use Douyin's cache system, also need to enter the cache resource domain in the BuildTool interface.

If the build fails: 1. Use Unity's built-in Build once and try again, 2. Use Build WebGL once and try again
Remote Building with Jenkins
- Download Java SDK (Demo uses v21.0.7)
- Download Jenkins (Demo uses v2.504.2 LTS), Install using a local administrator account (otherwise, builds may fail).

- After installation, start Jenkins.
- Create a job with the following configuration:


- Install the Unity3d Plugin from the Plugins interface.

- Add Unity versions in the Tools interface.

- Copy config.xml to the corresponding job directory in Jenkins’ data folder.

- Restart the Jenkins service.

- (If needed) Modify the Unity version in the Build Steps configuration (name must match the Tools interface).

- Finally, adjust the parameters (matching the editor’s build settings) and start building.

Explore related projects
Loading…