Skip to content
Projects

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 & Emulation

How these counts are measured

What 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

Original

F8 SDKManager

license Unity Version Platform

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)
    image
  • Unity 2022 versions(2022.1:Gradle6.1.1)
    image
  • Unity 2023 versions(2023.1:Gradle7.6)
    image
  • Unity 6000 versions
    image
    image

  • Based on your version, select the correct directory and copy the following two files to your project's Assets/Plugins/Android folder.
  • Add the .xml extension to the file AndroidManifest.xml
  • Add the .aar extension to the file UnityAndroidDemo-release.aar
    image
    image

  • 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
    1. Download Android Studio (change the language to English in the top-right corner).
    2. 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
    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)
    2. 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).
    3. Replace the classes.jar file in the libs directory with (C:\Program Files\Unity\Hub\Editor\6000.3.10f1\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\mono\Release\Classes\classes.jar)
    4. From the top menu, select Build → Rebuild Project. After exporting, an UnityAndroidDemo-release.aar file will be generated.(Starting from the 2025 version, the button has been changed to Assemble Module)
    5. Use a ZIP-capable compression tool to delete the libs/classes.jar file inside the AAR.
    6. Open the root directory's classes.jar and delete the UnityPlayerActivity.java file (not required for Unity 2023 / 6000).


  • After a successful build, you will see this interface:
    1. If you don’t want to display this interface,
    2. Open AndroidManifest.xml and swap MoeNativeActivity with MainActivity.
    3. Also modify the AndroidManifest.xml inside UnityAndroidDemo-release.aar
      image

iOS Project Usage Guide


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


  • Delete LitJson.dll from the WX-WASM-SDK-V2 plugin (Note: Unity China Engine also has it, recommended to keep the one in F8Framework)
    image
  • Add F8 framework's LitJson reference to the two .asmdef files under the WX-WASM-SDK-V2 directory's Editor and Runtime respectively
    image

  • On the F5 packaging tool interface, select three settings options. image
  1. Append MD5 to AB names after packaging √
  2. Force change asset loading mode to remote √
  3. Disable Unity cache system on WebGL platform √
    • After using forced remote loading mode, you need to upload the AssetBundles directory under the packaged project's StreamingAssets folder to CDN
      image
  • (Note) Since WeChat Mini Games can only use remote AB loading, please press F5, configure the asset remote address, and build the game once.
    image
  • You can also directly modify the "AssetRemoteAddress" parameter in GameVersion.json here
    image
  • Build settings.
    image
  • When the first package resource loading method is CDN, upload the first package to CDN. image
  • To use WeChat's cache system, manually enter the CDN address and Bundle Path Identifier in MiniGameConfig (default is StreamingAssets, should be changed to AssetBundles). image

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


  • To use Douyin's cache system, also need to enter the cache resource domain in the BuildTool interface. image

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

  1. Download Java SDK (Demo uses v21.0.7)
  2. Download Jenkins (Demo uses v2.504.2 LTS), Install using a local administrator account (otherwise, builds may fail).
    image
  3. After installation, start Jenkins.
  4. Create a job with the following configuration:
    image
    image
  5. Install the Unity3d Plugin from the Plugins interface.
    image
  6. Add Unity versions in the Tools interface.
    image
  7. Copy config.xml to the corresponding job directory in Jenkins’ data folder.
    image
  8. Restart the Jenkins service.
    image
  9. (If needed) Modify the Unity version in the Build Steps configuration (name must match the Tools interface).
    image
  10. Finally, adjust the parameters (matching the editor’s build settings) and start building.
    image

Explore related projects

Loading…