Merge branch 'readme' into dev

This commit is contained in:
DCFApixels 2025-03-12 22:41:17 +08:00
commit 4f848de1a3
3 changed files with 15 additions and 6 deletions

View File

@ -151,7 +151,7 @@ public struct SomeMesh : IStaticMesh
# Настройки
Окно настроек "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>
@ -253,4 +253,7 @@ SomeAssets assets = DebugXUtility.LoadStaticData(new SomeAssets(), "SomeAssets")
<br>
# 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"
![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>
@ -256,4 +256,7 @@ SomeAssets assets = DebugXUtility.LoadStaticData(new SomeAssets(), "SomeAssets")
<br>
# 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

@ -150,7 +150,7 @@ public struct SomeMesh : IStaticMesh
# Settings
Settings window "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>
@ -252,4 +252,7 @@ SomeAssets assets = DebugXUtility.LoadStaticData(new SomeAssets(), "SomeAssets")
<br>
# 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.