private void DrawGrid(Vector3 center, float sizeX, float sizeY) { Vector3 vector3 = base.transform.right * (sizeX / 2f); Vector3 vector31 = base.transform.forward * (sizeY / 2f); CullGrid.DrawQuadRayCastDown((center + vector3) + vector31, (center + vector3) - vector31, (center - vector3) - vector31, (center - vector3) + vector31); }
private void DrawGrid(Vector3 center) { Vector3 vector3 = base.transform.right * ((float)this.setup.cellSquareDimension / 2f); Vector3 vector31 = base.transform.forward * ((float)this.setup.cellSquareDimension / 2f); CullGrid.DrawQuadRayCastDown((center + vector3) + vector31, (center + vector3) - vector31, (center - vector3) - vector31, (center - vector3) + vector31); }