I hereby claim:
- I am ansismalins on github.
- I am ansismalins (https://keybase.io/ansismalins) on keybase.
- I have a public key ASDVDxjtxf7HCZupGz3wHx0bl4eWek551qhRD49HIS7Mxwo
To claim this, I am signing this object:
Verifying that +ansismalins is my blockchain ID. https://onename.com/ansismalins |
I hereby claim:
To claim this, I am signing this object:
public struct JsonBuilder | |
{ | |
private StringBuilder sb; | |
public int Indentation; | |
public JsonBuilder(StringBuilder sb) | |
{ | |
Indentation = 0; | |
this.sb = sb; | |
} |
using Microsoft.CSharp; | |
using System; | |
using System.CodeDom.Compiler; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using UnityEditor; |
public static class ArrayPool<T> | |
{ | |
private static readonly List<T[]> pool = new List<T[]>(); | |
public static Item Get(int length) | |
{ | |
for (int i = pool.Count - 1; i >= 0; i--) | |
{ | |
var array = pool[i]; | |
if (array.Length >= length) |
using UnityEditor; | |
using UnityEngine; | |
public sealed class AssetBundleLoader : ScriptableWizard | |
{ | |
public string sourcePath; | |
[MenuItem("Wizard/Load Asset Bundle")] | |
private static void CreateWizard() | |
{ |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using Object = UnityEngine.Object; | |
public static class DependencyTracker | |
{ | |
private static Dictionary<string, List<string>> dependantCache; |
// The commented out parts are for Unity 2018.4 | |
//using System.Reflection; | |
//using UnityEditor.Experimental.UIElements.GraphView; | |
//using UnityEngine.Experimental.UIElements; | |
//using UnityEngine.Experimental.UIElements.StyleEnums; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEditor.Experimental.GraphView; | |
using UnityEngine; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<title>%UNITY_WEB_NAME%</title> | |
<style> | |
body { | |
margin: 0; | |
} |
using System; | |
using System.IO; | |
using UnityEditor; | |
using UnityEngine; | |
public static class PathGUI | |
{ | |
public static void OpenFileField(string label, ref string path) | |
{ | |
string directory = path; |