Skip to content

Instantly share code, notes, and snippets.

View paulchabotca's full-sized avatar
🤓
Javascript, PHP, Python, Bash, Regex

Paul Chabot paulchabotca

🤓
Javascript, PHP, Python, Bash, Regex
View GitHub Profile
@sakim
sakim / HUDFPS.cs
Created July 2, 2013 10:02
Unity3D: FramePerSecond for UILabel of NGUI
using UnityEngine;
using System.Collections;
public class HUDFPS : MonoBehaviour {
// Attach this to a UILabel to make a frames/second indicator.
//
// It calculates frames/second over each updateInterval,
// so the display does not keep changing wildly.
//
@knorrium
knorrium / .gitignore
Created May 17, 2012 03:57 — forked from bergie/.gitignore
Node.js email handling examples
config.json
reading-image.png
@darktable
darktable / SavWav.cs
Created April 6, 2012 05:01
Unity3D: script to save an AudioClip as a .wav file.
// Copyright (c) 2012 Calvin Rien
// http://the.darktable.com
//
// This software is provided 'as-is', without any express or implied warranty. In
// no event will the authors be held liable for any damages arising from the use
// of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it freely,
// subject to the following restrictions:
@mminer
mminer / Console.cs
Last active March 28, 2024 22:23
Unity script to display in-game debug console. Actively maintained version: https://github.com/mminer/consolation
// NOTE: For an actively-maintained version of this script, see https://github.com/mminer/consolation.
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// A console to display Unity's debug logs in-game.
/// </summary>
public class Console : MonoBehaviour
{