# tengine | ALEX | Knowledge Base | Instagit

Unity框架解决方案-支持HybridCLR(最好的次时代热更)、Obfuz混淆代码加固与YooAssets(优秀商业级资源框架)。

GitHub Stars: 2k

Repository: https://github.com/alex-rachel/tengine

---

## Articles

### [How TEngine Integrates with YooAsset's Asset Streaming System](/alex-rachel/tengine/how-does-tengine-integrate-with-yooasset-s-asset-streaming-system)

Discover how TEngine seamlessly integrates with YooAsset's asset streaming system. This article covers their ResourceModule abstraction, simplifying asset operations for your projects.

- Tags: how-to-guide
- Published: 2026-02-24

### [How TEngine Automatically Cleans Up Events When UI Is Destroyed](/alex-rachel/tengine/how-does-tengine-automatically-clean-up-events-when-ui-is-destroyed)

Learn how TEngine automatically cleans up UI events when destroyed. TEngine's GameEventMgr efficiently removes delegates via OnDestroy for seamless memory management.

- Tags: how-to-guide
- Published: 2026-02-24

### [Common Pitfalls When Migrating from Other Unity Frameworks to TEngine](/alex-rachel/tengine/what-are-common-pitfalls-when-migrating-from-other-unity-frameworks-to-tengine)

Avoid common pitfalls migrating Unity frameworks to TEngine. Learn to leverage ModuleSystem, ResourceModule, int IDs, and code generators for a smoother transition.

- Tags: migration-guide
- Published: 2026-02-24

### [How TEngine Handles Platform-Specific Differences for iOS and Android](/alex-rachel/tengine/how-does-tengine-handle-platform-specific-differences-for-ios-and-android)

Discover how TEngine manages iOS and Android differences using Unity preprocessor directives and helper methods for seamless cross-platform development. Learn more.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Optimize TEngine Performance for Mobile Devices: 8 Proven Techniques](/alex-rachel/tengine/how-to-optimize-tengine-performance-for-mobile-devices)

Boost TEngine performance on mobile with 8 proven techniques. Learn object pooling, integer event IDs, async resource loading, and disabling the debugger to speed up your app.

- Tags: performance
- Published: 2026-02-24

### [How to Build TEngine on Different Platforms: Windows, macOS, Android, iOS, WebGL, and WeChat Mini-Game](/alex-rachel/tengine/what-are-the-best-practices-for-building-tengine-on-different-platforms)

Learn to build TEngine on Windows macOS Android iOS WebGL and WeChat Mini-Game. Follow best practices for efficient cross-platform development using Unity.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Create a Custom UI Panel with TEngine's UIModule: Complete Integration Guide](/alex-rachel/tengine/how-to-create-a-custom-ui-panel-that-integrates-with-tengine-s-uimodule)

Learn how to create a custom UI panel in TEngine by integrating with UIModule. Follow this complete guide to build your own UI windows and display them easily.

- Tags: how-to-guide
- Published: 2026-02-24

### [TEngine AssetBundle Packaging Workflow with YooAsset: Automated Pipeline Guide](/alex-rachel/tengine/what-is-tengine-s-assetbundle-packaging-workflow-with-yooasset)

Learn TEngine's AssetBundle packaging workflow with YooAsset. Automate your build pipeline with this configurable 7-stage editor workflow for efficient game asset management.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Debug and Fix Resource Leaks in a TEngine Project: A Complete Guide](/alex-rachel/tengine/how-to-debug-and-fix-resource-leaks-in-a-tengine-project)

Fix TEngine resource leaks with practical solutions. Learn to implement disposal guards, clear pools, and use try-finally blocks for async asset loading in your TEngine project.

- Tags: how-to-guide
- Published: 2026-02-24

### [How TEngine Loads Hot Update Assemblies at Runtime: A HybridCLR Deep Dive](/alex-rachel/tengine/how-does-tengine-load-hot-update-assemblies-at-runtime)

Discover how TEngine leverages HybridCLR to load hot update assemblies at runtime. Explore DLL loading, TextAsset handling, and game entry point injection.

- Tags: deep-dive
- Published: 2026-02-24

### [TEngine Network Module Architecture: Unity-Native HTTP and Debug Communication](/alex-rachel/tengine/what-networking-architecture-does-tengine-s-network-module-use)

Explore TEngine's network module architecture, leveraging Unity's native APIs for efficient async HTTP and debugging. Centralized via ResourceModule for enhanced performance and integration.

- Tags: architecture
- Published: 2026-02-24

### [How TEngine's Procedure State Machine Manages Game Flow: Complete Technical Guide](/alex-rachel/tengine/how-does-tengine-s-procedure-state-machine-manage-game-flow)

Learn how TEngine's procedure state machine orchestrates game flow using ProcedureBase states and lifecycle callbacks for seamless transitions between game phases. A complete technical guide.

- Tags: deep-dive
- Published: 2026-02-24

### [How to Use TEngine's Object Pool for GameObjects: A Complete Guide to Zero-Allocation Pooling](/alex-rachel/tengine/how-to-use-tengine-s-object-pool-for-gameobjects-efficiently)

Learn to use TEngine's object pool for GameObjects, eliminating Instantiate/Destroy overhead. Maximize performance and reduce garbage collection with this zero-allocation pooling guide.

- Tags: how-to-guide
- Published: 2026-02-24

### [TEngine Memory Pool Internal Implementation: A Deep Dive into the Generic Object Pool Architecture](/alex-rachel/tengine/what-is-the-internal-implementation-of-tengine-s-memory-pool)

Explore TEngine memory pool internal implementation. Discover its generic object pool architecture, thread-safe MemoryPool facade, and MemoryCollection queues for efficient Unity GC management.

- Tags: internals
- Published: 2026-02-24

### [How to Subscribe and Unsubscribe to GameEvent in TEngine: A Complete Guide](/alex-rachel/tengine/how-to-properly-subscribe-and-unsubscribe-to-gameevent-in-tengine)

Master GameEvent subscription and unsubscription in TEngine. Learn to use AddEventListener and RemoveEventListener correctly to prevent memory leaks and ensure clean event handling. Explore game event management best practices ...

- Tags: how-to-guide
- Published: 2026-02-24

### [How TEngine's UI Code Generation Tool Works: Automated C# Binding from Unity Hierarchies](/alex-rachel/tengine/how-does-tengine-s-ui-code-generation-tool-work)

Discover how TEngine's UI code generation tool automatically creates C# bindings from Unity hierarchies. Automate UI code creation and boost your productivity.

- Tags: internals
- Published: 2026-02-24

### [How to Set Up HybridCLR Hot Update with TEngine from Scratch](/alex-rachel/tengine/how-to-set-up-hybridclr-hot-update-with-tengine-from-scratch)

Set up HybridCLR hot update with TEngine easily in Unity. Enable full C# hot reloading with just four menu commands and a configuration asset. Get started today.

- Tags: getting-started
- Published: 2026-02-24

### [How TEngine's MVE Architecture Handles Data Flow Between Model and View](/alex-rachel/tengine/how-does-tengine-s-mve-architecture-handle-data-flow-between-model-and-view)

Discover how TEngine's MVE architecture manages data flow. Learn how GameEvent acts as a zero-GC intermediary for efficient state broadcasting and consumption.

- Tags: architecture
- Published: 2026-02-24

### [What is the Difference Between LRU and ARC Cache Strategies in TEngine?](/alex-rachel/tengine/what-is-the-difference-between-lru-and-arc-cache-strategies-in-tengine)

Understand the difference between TEngine LRU and ARC cache strategies. Learn how LRU uses recency while ARC balances recency and frequency for optimal resource management.

- Tags: deep-dive
- Published: 2026-02-24

### [How TEngine's AssetReference System Manages Resource Lifecycles in Unity](/alex-rachel/tengine/how-does-tengine-s-assetreference-system-manage-resource-lifecycles)

Discover how TEngine's AssetReference system expertly manages Unity asset lifecycles. Learn about its three-phase process for efficient resource management and automatic release.

- Tags: internals
- Published: 2026-02-24

### [TEngine Modules Initialization Order: Step-by-Step Startup Sequence](/alex-rachel/tengine/what-is-the-initialization-order-of-tengine-modules-at-startup)

Understand TEngine modules initialization order. Discover the step-by-step startup sequence from RootModule.Awake to ProcedureLaunch for efficient game setup.

- Tags: internals
- Published: 2026-02-24

### [How TEngine's Zero-GC Event System Works Internally: Architecture and Implementation](/alex-rachel/tengine/how-does-tengine-s-zero-gc-event-system-work-internally)

Explore TEngine's zero GC event system architecture and implementation. Discover how compile-time IDs, generic delegates, and direct chains eliminate runtime allocations for peak performance.

- Tags: internals
- Published: 2026-02-24

