Skip to content

Instantly share code, notes, and snippets.

View makoto-unity's full-sized avatar

Makoto Ito makoto-unity

View GitHub Profile
;; 引数を load-path へ追加
;; normal-top-level-add-subdirs-to-load-path はディレクトリ中の中で
;; [A-Za-z] で開始する物だけ追加するので、追加したくない物は . や _ を先頭に付与しておけばロードしない
;; dolist は Emacs 21 から標準関数なので積極的に利用して良い
(defun add-to-load-path (&rest paths)
(let (path)
(dolist (path paths paths)
(let ((default-directory (expand-file-name (concat user-emacs-directory path))))
(add-to-list 'load-path default-directory)
(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
using TM.Network;
public class GetWild
{
// Start is called before the first frame update
void Start()
{
//アスファルト タイヤを切りつけながら
while(GetAsphalt().Cut(tire))
{
function doPost(e) {
// トークンの確認
var VERIFY_TOKEN = "XXXXXXXXXXXXXXXXXXXXXXXX"; // 1. トークン
if (VERIFY_TOKEN != e.parameter.token) {
throw new Error("invalid token.");
}
var googleCalenderId = "[email protected]"; // 2. GoogleカレンダーのID
var scheduleWords = '俺のスケジュール'; // 3. この後の数字が最大日数になる
var maxDay = 14; // 4. デフォルト最大日数
var startHour = 11; // 5. 予定可能開始時間(この時間から〜)
@makoto-unity
makoto-unity / MyLastMessage.cs
Created December 31, 2017 13:44
My Last Message
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityTechnologies;
using UnityTechnologies.Evangelist;
using UnityTechnologies.Japan;
public class MyLastCode : MonoBehaviour {
    // Use this for initialization
@makoto-unity
makoto-unity / MaterialEditor.cs
Created April 14, 2017 15:41
Material Renamer
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;
public class MaterialEditor {
// 使い方
[MenuItem("MyTools/Rename Material")]
@makoto-unity
makoto-unity / AnimationSequencer.cs
Created May 26, 2016 08:36
Unity Animation sequencer
using UnityEngine;
using System.Collections;
using UnityEngine.Assertions;
[RequireComponent(typeof(Animator))]
public class AnimationSequencer : MonoBehaviour {
// Use this for initialization
private Animator myAnim;
float nowLimit;
#pragma strict
function Start () {
}
var bulletObj : GameObject;
function Update () {
if (Input.GetButtonDown("Fire1")) {
# 簡易HMDを使ったVRハンズオンセミナー
#### ユニティちゃんCandy Rock Star をダウンロードしよう!
http://unity-chan.com
「ユニティちゃんライブステージ! -Candy Rock Star-」
#### ヘッドトラッキングアセットを持ってくる
Unity5でうまく動くアセット
@makoto-unity
makoto-unity / TempRun.md
Last active November 7, 2016 11:54
Temp Run セミナーの原稿