とりあえず完成しているゲームを見てみましょう。
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 UnityEditor; | |
using System.Collections.Generic; | |
public class CloneInspecotr : EditorWindow | |
{ | |
[MenuItem("Window/CloneInspecotr")] | |
static void Open () | |
{ | |
GetWindow<CloneInspecotr> (); |
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 Uniduino; | |
public class Sample : MonoBehaviour | |
{ | |
private Arduino arduino; | |
private int angle; | |
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; | |
using Uniduino; | |
public class Sample : MonoBehaviour | |
{ | |
//3.3V | |
private Arduino arduino; | |
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
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=27C6C585F2A2204D93E825FAE7479170/@KeyIndexDefined">True</s:Boolean> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=27C6C585F2A2204D93E825FAE7479170/Shortcut/@EntryValue">AssetDeleteResult</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=27C6C585F2A2204D93E825FAE7479170/Text/@EntryValue"> static AssetDeleteResult OnWillDeleteAsset (string $assetPath$, RemoveAssetOptions $option$)
 | |
{
 | |
$END$
 | |
}</s:String> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=27C6C585F2A2204D93E825FAE7479170/Reformat/@EntryValue">True</s:Boolean> | |
<s:Boolean x:Key="/Default/PatternsAndTemplate |
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; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
[InitializeOnLoad] | |
// 大草原クラス | |
class WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW | |
{ |
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
private static void ClearConsoleLogs() | |
{ | |
var type = Types.GetType("UnityEditorInternal.LogEntries", "UnityEditor"); | |
var info = type.GetMethod("Clear", BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance); | |
info.Invoke(null, new object[0]); | |
} |
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
update | |
upgrade | |
tap caskroom/cask | |
install brew-cask | |
tap caskroom/versions | |
install git | |
install nkf | |
install nodebrew |
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 UnityEditor; | |
using System.Reflection; | |
[InitializeOnLoad] | |
public class CompileError | |
{ | |
// 効果音。自由に変更する | |
// http://commons.nicovideo.jp/material/nc32797 | |
const string musicPath = "Assets/Editor/nc32797.wav"; |
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 UnityEditor; | |
using System.IO; | |
using System.Text; | |
[InitializeOnLoad] | |
public class iTunes | |
{ | |
static iTunes () | |
{ |