Skip to content

Instantly share code, notes, and snippets.

@heistak
heistak / MMD4MecanimExpressionCompatibility.cs
Last active September 12, 2021 16:28
MMD4Mecanimの表情制御をMMD for Unityと同じやり方(制御用GameObjectのZ位置を動かす)で出来るようにするスクリプト。
using UnityEngine;
using System.Collections;
// Script to make MMD4Mecanim's expressions controllable like MMDforUnity's expressions.
// Move the Z localPosition of an expression GameObject from 0.0-1.0 to control that expression.
/*
* Instructions:
* 1. Copy the "Expression" GameObject (and its children) from inside a MMDforUnity-imported model to inside a MMD4Mecanim-imported model.
* 2. Select all the individual GameObjects for the expressions inside the "Expression" GameObject.
@heistak
heistak / build.sh
Created August 29, 2013 15:41
Cygwin script to automate build of Mikulus Kinect for Mac/Windows and copy .zip to Dropbox.
#!/bin/bash
#-----------------------------------------------------------------------------------------------
# Unityをバッチモードで起動し、ビルドする
#-----------------------------------------------------------------------------------------------
# These are defined in Cygwin, but used by Mono's compilation.
unset TEMP
unset TMP
<?xml version="1.0"?>
<root>
<item>
<name>Custom</name>
<item>
<name>親指シフト <ローマ字モード> 左シフト=スペース, 右シフト=F16</name>
<identifier>remap.oyayubi_shift_roman_space_F16</identifier>
<include path="/Applications/Karabiner.app/Contents/Resources/include/checkbox/languages/japanese/keyboard_layouts/oyayubishiftinput_roman.xml">
<replacementdef>