Skip to content

Instantly share code, notes, and snippets.

@JWardee
JWardee / Demo.cs
Created October 25, 2015 21:27
Helper class for using the Facebook API with Unity v5, makes use of the excellent SimpleJSON class to decode JSON objects https://gist.github.com/darktable/1411710
using UnityEngine;
using System;
public class Demo : MonoBehaviour {
void Start() {
new FB_Query("/me", callback);
}
public void callback(SimpleJSON.JSONNode result) {
@JWardee
JWardee / index.html
Created June 9, 2015 16:06
Multi level mobile menu
<nav id="mobile_menu">
<div class="level _show" id="1">
<a href="#11">Link 1 <i class="ion-ios-arrow-right -icon"></i></a>
<a href="/about">Link 2</a>
<a href="/about">Link 3</a>
<a href="/about">Link 4</a>
<a href="/about">Link 5</a>
</div>
<div class="level" id="11">