mirror of
https://github.com/DCFApixels/Unity-DebugX.git
synced 2025-09-17 17:34:35 +08:00
Update README.md
This commit is contained in:
parent
d0fcd9f5a7
commit
d285c2dc18
@ -28,14 +28,14 @@ DebugX.Draw(...).Mesh<IStaticMesh, IStaticMat>(pos, rot, sc);
|
||||
// Статический меш.
|
||||
public struct SomeMesh : IStaticMesh
|
||||
{
|
||||
public Mesh GetMesh() => StaticStorage.SomeMesh;
|
||||
public Mesh GetMesh() => StaticStorage.SomeMesh;
|
||||
}
|
||||
|
||||
// Статический материал.
|
||||
public struct SomeMesh : IStaticMesh
|
||||
{
|
||||
public int GetExecutuonOrder() => 100;
|
||||
public Mesh GetMaterial() => StaticStorage.SomeMaterial;
|
||||
public int GetExecutuonOrder() => 100;
|
||||
public Mesh GetMaterial() => StaticStorage.SomeMaterial;
|
||||
}
|
||||
```
|
||||
Утилита для загрузки мешей: //TODO
|
||||
|
Loading…
Reference in New Issue
Block a user