Skip to content

Instantly share code, notes, and snippets.

@hananoki
hananoki / builtin-resource.txt
Created June 11, 2020 05:51
(゚∀゚) ビルトインのアイコンパス
/// Copyright (c) 2020 hananoki
/// This code is released under NYSL Version 0.9982
/// See http://www.kmonos.net/nysl/NYSL.TXT
Unity 2019.3.10f1
/// exporting program
var bundle = typeof( EditorGUIUtility ).MethodInvoke<AssetBundle>( "GetEditorAssetBundle" );
var assetNames = bundle.GetAllAssetNames();
@hananoki
hananoki / AudioClipViewer.cs
Last active March 9, 2020 23:35
AudioClipをリスト表示してクリックでプレビューするやつ
/// Copyright (c) 2020 hananoki
/// This code is released under NYSL Version 0.9982
/// See http://www.kmonos.net/nysl/NYSL.TXT
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using System.Reflection;
@hananoki
hananoki / UnityEditorJson.cs
Last active February 23, 2020 13:24
UnityEditor.Jsonを扱えるようにしたもの
/// Copyright (c) 2020 hananoki
/// This code is released under NYSL Version 0.9982
/// See http://www.kmonos.net/nysl/NYSL.TXT
using System;
using System.Reflection;
public static class UnityEditorJson {
static Type s_UnityEditor_Json;
static Type UnityEditor_Json {
@hananoki
hananoki / SimpleReorderableList.cs
Created December 24, 2019 08:35
ReorderableList with Foldout for simplified setting
/// Copyright (c) 2019 hananoki
/// This code is released under NYSL Version 0.9982
/// See http://www.kmonos.net/nysl/NYSL.TXT
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditorInternal;