This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =========================== | |
# Default Collab Ignore Rules | |
# =========================== | |
# OS Generated | |
# ============ | |
.DS_Store | |
._* | |
.Spotlight-V100 | |
.Trashes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
/// <summary> | |
/// Be aware this will not prevent a non singleton constructor | |
/// such as `T myT = new T();` | |
/// To prevent that, add `protected T () {}` to your singleton class. | |
/// | |
/// As a note, this is made as MonoBehaviour because we need Coroutines. | |
/// </summary> | |
public class Singleton<T> : MonoBehaviour where T : MonoBehaviour |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# assumes your file is called mbox | |
# writes to a file called mbox.csv | |
import mailbox | |
import csv | |