@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace RedCircuit.Grid
|
||||
{
|
||||
/// <summary>分块管理器,将画布按 16x16 分 Chunk,仅实例化视口内 Chunk。</summary>
|
||||
public class ChunkManager : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace RedCircuit.Grid
|
||||
{
|
||||
/// <summary>网格画布渲染器,负责 PCB 风格网格绘制与视口裁剪。</summary>
|
||||
public class GridCanvas : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "RedCircuit.Grid",
|
||||
"rootNamespace": "RedCircuit.Grid",
|
||||
"references": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": []
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace RedCircuit.Grid
|
||||
{
|
||||
/// <summary>瓦片渲染器,负责单个元件方块的 GPU Instancing 批量绘制。</summary>
|
||||
public class TileRenderer : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user