Skip to content

Instantly share code, notes, and snippets.

View louis-e's full-sized avatar
:octocat:
0xDEADBEEF

Louis Erbkamm louis-e

:octocat:
0xDEADBEEF
View GitHub Profile
@louis-e
louis-e / GridMesh.cs
Last active June 22, 2020 21:42 — forked from mdomrach/GridMesh.cs
Fixed line 17; otherwise the top and the right side of the grid won't be closed
using UnityEngine;
using System.Collections.Generic;
[RequireComponent(typeof(MeshRenderer))]
[RequireComponent(typeof(MeshFilter))]
public class GridMesh : MonoBehaviour
{
public int GridSize;
void Awake()
@louis-e
louis-e / UDPSocket.cs
Last active April 14, 2024 02:43 — forked from darkguy2008/UDPSocket.cs
Simple C# UDP server/client in 62 lines
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace UDP
{
public class UDPSocket
{
public Socket _socket;