Skip to content

Instantly share code, notes, and snippets.

JWardee / Demo.cs
Created Oct 25, 2015
Helper class for using the Facebook API with Unity v5, makes use of the excellent SimpleJSON class to decode JSON objects
View Demo.cs
using UnityEngine;
using System;
public class Demo : MonoBehaviour {
void Start() {
new FB_Query("/me", callback);
public void callback(SimpleJSON.JSONNode result) {
JWardee / index.html
Created Jun 9, 2015
Multi level mobile menu
View index.html
<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 class="level" id="11">
You can’t perform that action at this time.