Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
pirunxi committed Mar 22, 2024
1 parent 1dafb94 commit 617ea0a
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 269 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AOT generic problem
# AOT Generic

There are two types of generic features in the CLR: generic types and generic functions. Generics are an extremely widely used feature in C#. Even a usage that does not explicitly contain generics may imply generic-related definitions or operations.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Building pipeline
# Building Pipeline

Due to the requirements of the hot update itself and some limitations of Unity resource management, some special processing is required for the buiding workflow, which is mainly divided into several parts:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Publish the WebGL platform
# Publish WebGL Platform

Due to the particularity of the WebGL platform, a separate document introduces how to release the WebGL platform. This document is published on the hybridclr_trial project ([github](https://focus-creative-games/hybridclr_trial) [gitee](https://gitee.com/focus-creative-games/hybridclr_trial) ) process.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Compile hot update assembly
# Compile Hot Update Assembly

The hot update code may contain macro switches such as `#if UNITY_EDITOR` and `#if UNITY_STANDALONE_WIN`, so each platform needs to be
Compile hot update assembly.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DOTS support
# DOTS Support

DOTS does not support dynamic registration of core types such as Component, System, and Aspect. As a result, DOTS-related types in hot updates cannot be recognized by the DOTS runtime and cannot operate normally.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# il2cpp bug log
# il2cpp Bugs

## Contravariant covariant generic interface call error

Expand Down
253 changes: 0 additions & 253 deletions i18n/en/docusaurus-plugin-content-docs/current/basic/modifyunitydll.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Getting started
# Getting Started

This tutorial guides you to experience HybridCLR hot update from an empty project. For the sake of simplicity, only the case where the BuildTarget is **Windows** or **MacOS** Standalone platform is demonstrated.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code Protection
# Code Encryption

The community version loads the original dll directly, forcing developers to carry and download the original dll. These original dlls can be decompiled by tools like ILSpy
, causing serious safety problems. Even if the developer encrypts it, it can easily be intercepted in the memory and obtain the decrypted dll content.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Fully generic sharing
# Fully Generic Sharing

Although supplementary metadata completely solves the AOT generic problem, supplementary metadata will cause the need to download the supplementary metadata dll with the package or hot update, resulting in an increase in package size or hot update time.
Loading supplementary metadata not only resulted in a noticeable increase in memory footprint, but also increased startup time. For occasions such as WeChat mini-games that have strict requirements on package size and memory, this is a problem that has a greater impact.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Metadata optimization
# Metadata Optimization

HybridCLR does not occupy additional memory when executing code, but loading assembly metadata occupies a large amount of memory. This may be a problem for some situations where there is a lot of memory pressure (such as WeChat mini-games).
For this situation, all commercial editions have significantly optimized metadata memory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# performance data
# Performance


A rough introduction to the performance gap between these optimization techniques. Taking numerical calculation as an example, if the performance benchmark of the community version is 1, then the primary instruction optimization is 2-4, the deep instruction optimization is 3-4, DHE is 50, and native is 50.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hot reload technology
# Hot Reload Technology

Hot reload technology is used to completely uninstall or reload an assembly, which is suitable for small game collection type games. This program only provides **commercial version**.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# manual
# Manual

## Install

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Get started quickly (checked workflow)
# Get Started Quickly (checked workflow)

This tutorial guides you to experience HybridCLR hot update from an empty project. For the sake of simplicity, only the case where the BuildTarget is the **Windows** or **MacOS** Standalone platform is demonstrated.
Please run the hot update process correctly on the Standalone platform before trying the hot update on the Android and iOS platforms. Their processes are very similar.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Get started quickly (unchecked workflow)
# Get Started Quickly (unchecked workflow)

This tutorial guides you to experience HybridCLR hot update from an empty project. For the sake of simplicity, only the case where the BuildTarget is the **Windows** or **MacOS** Standalone platform is demonstrated.
Please run the hot update process correctly on the Standalone platform before trying the hot update on the Android and iOS platforms. Their processes are very similar.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Business project case
# Business Project Cases

There are currently more than a thousand domestic and foreign commercial games using HybridCLR, among which hundreds of commercial projects have been launched online (AppStore or Google Play).
We only count the commercial projects using the HybridCLR solution among the top 200 best-sellers and the top 500 free in China.
Expand Down

0 comments on commit 617ea0a

Please sign in to comment.