Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
//parts of this were inspired by https://github.com/prime31/UIToolkit/blob/master/Assets/Plugins/UIToolkit/UIElements/UIText.cs
public class FDFontLabel : FLabel
{
protected int dynamicFontSize = 32;
protected FontStyle dynamicFontStyle = FontStyle.Normal;
@madgreg99
madgreg99 / MiniJSON
Created November 26, 2013 00:34
MiniJSON with Safe AOT iterator for iOS
/*
* Copyright (c) 2012 Calvin Rien
*
* Based on the JSON parser by Patrick van Bergen
* http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html
*
* Simplified it so that it doesn't throw exceptions
* and can be used in Unity iPhone with maximum code stripping.
*
* Permission is hereby granted, free of charge, to any person obtaining