Skip to content

Instantly share code, notes, and snippets.

View XakazukinX's full-sized avatar

Tenta Shigeno XakazukinX

View GitHub Profile
@XakazukinX
XakazukinX / CustomLabelAttribute.cs
Last active April 8, 2019 19:46
変数名の代わりに好きな文字列をインスペクタに表示できるカスタム属性
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace shigeno_EditorUtility
{
public class CustomLabelAttribute : PropertyAttribute
{
public string newFieldLabel;
@XakazukinX
XakazukinX / HumanBodyBonesList.csv
Created March 19, 2019 14:12
HumanBodyBonesのおなまえと値
HumanBodyBonesの名前
Hips 0 
LeftUpperLeg 1
RightUpperLeg 2
LeftLowerLeg 3
RightLowerLeg 4
LeftFoot 5
RightFoot 6
Spine 7
Chest 8
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<title>i2c-GP2Y0E03</title>
<script src="../../polyfill/blePolyfill.js"></script>
<script src="../../drivers/i2c-GP2Y0E03.js"></script>
@XakazukinX
XakazukinX / AttachKeycode.cs
Created February 24, 2019 15:46
入力したキーにKeyCodeを反映させるやつ
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Reflection;
namespace akazukin_omochabako
{
public class AttachKeycode : EditorWindow
{
private Object targetScript;