This file contains 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; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
namespace GenerateSerialCode | |
{ | |
/// <summary> | |
/// かぶりなし 文字種類指定 個数指定 でシリアルコードを生成する |
This file contains 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
{ | |
"editor.insertSpaces":true, | |
"editor.tabSize": "4", | |
"editor.wrappingColumn": 200, | |
"editor.renderWhitespace": true | |
} |
This file contains 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; | |
using System.Collections.Generic; | |
using UniRx; | |
using UniRx.Triggers; | |
using UniLinq; | |
public class #SCRIPTNAME# : MonoBehaviour { | |
void Start() { |
This file contains 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; | |
public class SingletonMonoBehaviour<T> : MonoBehaviour where T : SingletonMonoBehaviour<T> | |
{ | |
protected static T instance; | |
public static T Instance { | |
get { | |
if (instance == null) { | |
instance = (T)FindObjectOfType (typeof(T)); |
This file contains 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
{ | |
"version":"0.1.0", | |
"configurations":[ | |
{ | |
"name":"Unity",// DropDownに表示される名前 | |
"type":"mono", | |
"address":"localhost", | |
"port":56131 // AlwaysWriteLaunchFileをOnにしてたらここは適当で良さそう | |
} | |
] |
This file contains 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.EventSystems; | |
using System; | |
public static class FindInterface { | |
public static void DoParentEventSystemHandler<T>(this Transform self, Action<T> action) where T:IEventSystemHandler | |
{ | |
Transform parent = self.transform.parent; | |
while(parent != null) { |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<package id="git" /> | |
<package id="sourcetree" /> | |
<package id="tortoisesvn" /> | |
<package id="redis-desktop-manager" /> | |
<package id="nodejs" /> | |
<package id="npm" /> | |
<package id="visualstudiocode" /> | |
<package id="winmerge-jp" /><!-- runtime error. but install success... --> |
This file contains 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
start(); | |
loop(function() { | |
for (var i = 0; i < 60000; i++) { | |
work(); | |
if (i % 1000 == 0) | |
purchase(i / 1000 % 5) | |
} | |
}, 1); |
-
commitメッセージ これの簡略化バージョンつかってみましょうか
OlderNewer