update readme

This commit is contained in:
DCFApixels 2025-03-12 22:41:11 +08:00
parent 9c52a097c2
commit 4477d510f6
3 changed files with 14 additions and 5 deletions

View File

@ -151,7 +151,7 @@ public struct SomeMesh : IStaticMesh
# Настройки # Настройки
Окно настроек "Tools -> DebugX -> Settings": Окно настроек "Tools -> DebugX -> Settings":
![image](https://github.com/user-attachments/assets/7dd981c1-1e00-4b7d-9a73-376638094689) ![image](https://github.com/user-attachments/assets/dee3954a-1c8a-442c-a4bb-d2c710e065a4)
<br> <br>
@ -253,4 +253,7 @@ SomeAssets assets = DebugXUtility.LoadStaticData(new SomeAssets(), "SomeAssets")
<br> <br>
# Define Symbols # Define Symbols
+ `DISABLE_DEBUGX_INBUILD` - по умолчанию Gizmo будут рисовать в сборке проекта, этот дефайн отключает рисование. Включить или выключить можно так же в окне настроек DebugX. Все Define Symbols можно менять в окне настроек.
+ `DEBUGX_DISABLE_INBUILD` - По умолчанию Gizmo будут рисовать в сборке проекта, этот дефайн отключает рисование.
+ `DEBUGX_ENABLE_PHYSICS2D` - Включает Gizmos для Physics2D.
+ `DEBUGX_ENABLE_PHYSICS3D` - Включает Gizmos для Physics3D.

View File

@ -154,7 +154,7 @@ public struct SomeMesh : IStaticMesh
# 设置 # 设置
设置窗口位于 "Tools -> DebugX -> Settings" 设置窗口位于 "Tools -> DebugX -> Settings"
![image](https://github.com/user-attachments/assets/7dd981c1-1e00-4b7d-9a73-376638094689) ![image](https://github.com/user-attachments/assets/dee3954a-1c8a-442c-a4bb-d2c710e065a4)
<br> <br>
@ -256,4 +256,7 @@ SomeAssets assets = DebugXUtility.LoadStaticData(new SomeAssets(), "SomeAssets")
<br> <br>
# Define Symbols # Define Symbols
+ `DISABLE_DEBUGX_INBUILD` - By default, Gizmos will be drawn in the project build. This define disables drawing. It can also be enabled or disabled in the DebugX settings window. All Define Symbols can be changed in the settings window
+ `DEBUGX_DISABLE_INBUILD` - By default, Gizmos will be drawn in the project build. This define disables drawing.
+ `DEBUGX_ENABLE_PHYSICS2D` - Enable Physics2D Gizmos.
+ `DEBUGX_ENABLE_PHYSICS3D` - Enable Physics3D Gizmos.

View File

@ -252,4 +252,7 @@ SomeAssets assets = DebugXUtility.LoadStaticData(new SomeAssets(), "SomeAssets")
<br> <br>
# Define Symbols # Define Symbols
+ `DISABLE_DEBUGX_INBUILD` - By default, Gizmos will be drawn in the project build. This define disables drawing. It can also be enabled or disabled in the DebugX settings window. All Define Symbols can be changed in the settings window
+ `DEBUGX_DISABLE_INBUILD` - By default, Gizmos will be drawn in the project build. This define disables drawing.
+ `DEBUGX_ENABLE_PHYSICS2D` - Enable Physics2D Gizmos.
+ `DEBUGX_ENABLE_PHYSICS3D` - Enable Physics3D Gizmos.