とりあえず完成しているゲームを見てみましょう。
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.IO; | |
using System.Text; | |
[InitializeOnLoad] | |
public class iTunes | |
{ | |
static iTunes () | |
{ |
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.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
class HierarchyWindowHelper | |
{ | |
private SerializedObject so; |
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
<script type="text/javascript"src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script type="text/javascript">$(function(){$(".unitygames").each(function(i){var t=$(this);t.html('<iframe width="100%" height="100%" src="'+t.attr("src")+'" frameborder="0"></iframe>')})});</script> |
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
<script type="text/javascript"src="http://code.jquery.com/jquery-1.7.1.min.js"></script><script type="text/javascript">$(function(){$(".unitygames").each(function(i){var t=$(this);t.html('<iframe width="100%" height="100%" src="'+t.attr("src")+'" frameborder="0"></iframe>')})});</script> |
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 Test : MonoBehaviour | |
{ | |
void Awake () | |
{ | |
gameObject.active = false; | |
} |
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 System.Collections.Generic; | |
public class RecoderManager : MonoBehaviour | |
{ | |
public Texture2D playButton, pauseButton, stopButton, recodeBotton, recodingButton; | |
public GameObject play, pause, stop, recode, recoding, meta; | |
private const string RECODE_START = "RecodeStart", RECODE_STOP = "RecodeStop", PLAY = "Play", PAUSE = "Pause", STOP = "Stop"; | |
private Ray r; |
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 Script : MonoBehaviour | |
{ | |
public int w = 100; | |
private Texture2D tex; | |
void Update () | |
{ |
OlderNewer