使用GL格子,代码如下
public static void DrawGrid(Material mat, Rect rect, int xCount, int yCount, float y = 0)
{
GL.PushMatrix();
mat.SetPass(0);
GL.Begin
使用GL格子,代码如下
public static void DrawGrid(Material mat, Rect rect, int xCount, int yCount, float y = 0)
{
GL.PushMatrix();
mat.SetPass(0);
GL.Begin