This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 引数を 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using TM.Network; | |
public class GetWild | |
{ | |
// Start is called before the first frame update | |
void Start() | |
{ | |
//アスファルト タイヤを切りつけながら | |
while(GetAsphalt().Cut(tire)) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. 予定可能開始時間(この時間から〜) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.IO; | |
public class MaterialEditor { | |
// 使い方 | |
[MenuItem("MyTools/Rename Material")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.Assertions; | |
[RequireComponent(typeof(Animator))] | |
public class AnimationSequencer : MonoBehaviour { | |
// Use this for initialization | |
private Animator myAnim; | |
float nowLimit; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma strict | |
function Start () { | |
} | |
var bulletObj : GameObject; | |
function Update () { | |
if (Input.GetButtonDown("Fire1")) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 簡易HMDを使ったVRハンズオンセミナー | |
#### ユニティちゃんCandy Rock Star をダウンロードしよう! | |
http://unity-chan.com | |
「ユニティちゃんライブステージ! -Candy Rock Star-」 | |
#### ヘッドトラッキングアセットを持ってくる | |
Unity5でうまく動くアセット |
使用するアセット https://www.assetstore.unity3d.com/#/content/9896
完成ゲーム「てんぷらん」 http://unity3d-jp.github.io/TEMPRUN/web%20player/
ドキュメントはこちら http://docs-jp.unity3d.com/
NewerOlder