Skip to content

Instantly share code, notes, and snippets.

View ItsMeThom-zz's full-sized avatar

Thom Lambert ItsMeThom-zz

  • Limerick, ireland
View GitHub Profile
using UnityEngine;
using System.Collections.Generic;
using Sabresaurus.SabreCSG;
public class RuntimeCSGExample1 : MonoBehaviour
{
[SerializeField]
int count = 30; // Number of brushes to create
[SerializeField]
using UnityEngine;
public class Singleton<T> : MonoBehaviour where T : MonoBehaviour
{
protected static T instance;
/**
Returns the instance of this singleton.
*/