Skip to content

Instantly share code, notes, and snippets.

View boxp's full-sized avatar
👩‍💻
in reality

Keitaro Takeuchi boxp

👩‍💻
in reality
View GitHub Profile
@boxp
boxp / SetDynamicBonePropertyTesting.cs
Last active December 11, 2018 19:29 — forked from wraikny/SetDynamicBoneProperty.cs
DynamicBone一括指定スクリプトに位置指定も追加しようとしたやつ forked from: Dynamic Boneのプロパティ操作を楽にするやつ
using System.Collections;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.SceneManagement; //!< 追加
#endif
// 参考: https://qiita.com/sango/items/4b9035c3e75d497f91ef#_reference-00718cd16d3962c60da9
--ちんちんっぽいことするやつ
import System.Random
chimpo :: String -> String
randomString :: String -> String
chimpo c = if take 4 c == "ABCDE"
then c ++ ("なんか終わりました" ++ (show (length c )))
else chimpo (randomString c)
randomString s = getStdRandom(randomR(0,4)) >>= \r -> case r of