Start weechat:
$ weechat
Go to the teams gateway page to retrieve your host, user, and pass
In weechat run the following:
using Utilities; | |
public class AirBlock : Block { | |
static Block instance; | |
public static Block Instance { | |
get { | |
if (instance == null) { | |
instance = new AirBlock(); |
using UnityEngine; | |
using Utilities; | |
public class Block { | |
// Enumerator representing the face of the block. | |
public enum FaceDirection { | |
North, | |
// +z | |
South, |
using UnityEngine; | |
using Utilities; | |
public class Block { | |
public virtual MeshData GetBlockData(Vector3Int position, | |
MeshData collectedMeshData) { | |
collectedMeshData = FaceDataTop(position, collectedMeshData); | |
collectedMeshData = FaceDataBottom(position, collectedMeshData); | |
collectedMeshData = FaceDataNorth(position, collectedMeshData); |
using UnityEngine; | |
using Utilities; | |
public interface INoise2DGenerator { | |
float[,] GenerateNoise(Vector2 position, Vector2Int dimensions); | |
} |
using UnityEditor; | |
using UnityEngine; | |
using Utilities; | |
[RequireComponent(typeof(MeshFilter))] | |
[RequireComponent(typeof(MeshRenderer))] | |
[RequireComponent(typeof(MeshCollider))] | |
public class Chunk : MonoBehaviour { |
using UnityEngine; | |
using Utilities; | |
[RequireComponent(typeof(MeshFilter))] | |
[RequireComponent(typeof(MeshRenderer))] | |
[RequireComponent(typeof(MeshCollider))] | |
public class Chunk : MonoBehaviour { | |
public static int Size = 16; |
Start weechat:
$ weechat
Go to the teams gateway page to retrieve your host, user, and pass
In weechat run the following: