Skip to content

Instantly share code, notes, and snippets.

@GFX47
GFX47 / PlayerPrefsTools.cs
Created March 13, 2018 10:34
Get all player prefs keys (windows only)
using System.Collections.Generic;
using UnityEngine;
public class PlayerPrefsTools
{
public static void GetAllPlayerPrefKeys(ref List<string> keys)
{
if (keys != null)
{
keys.Clear();
@GFX47
GFX47 / EditorTools.cs
Created May 22, 2018 15:30
Unity3D - Select assets
using UnityEditor;
using UnityEngine;
public class EditorTools
{
public static Object GetAsset(string name = null, string type = null)
{
string search = string.Empty;
if (!string.IsNullOrEmpty(name))
{