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
#if PLAYMAKER | |
using System; | |
using System.Linq; | |
using HutongGames.PlayMaker; | |
using HutongGames.PlayMakerEditor; | |
using UnityEngine; | |
using UnityEditor; | |
public static class FsmArraySetter | |
{ |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using UnityEditor.iOS.Xcode; | |
public static class IOSBuildPostProcessor | |
{ | |
[PostProcessBuild] |
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 UniRx; | |
using UniRx.Triggers; | |
public class CountUpStream | |
{ | |
/// <summary> | |
/// カウントアップストリームの作成 | |
/// </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
using UnityEngine; | |
using System.Collections; | |
using UniRx; | |
public class Foo : MonoBehaviour | |
{ | |
IEnumerator Start () | |
{ | |
// 並列的に実行したい2つの処理があって、その両方が終わるまで待ち合わせをしたい。 | |
Debug.Log("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
2875: [Unity] Platform assembly: /UNITY_PATH/Unity/Unity-5_0_4f1/Unity.app/Contents/Frameworks/Managed/Unity.CecilTools.dll (this message is harmless) | |
2876: [Unity] Exception: ExtractAssemblyTypeInfo: Failed to process Library/ScriptAssemblies/Assembly-CSharp.dll, System.ArgumentException: An element with the same key already exists in the dictionary. | |
2877: [Unity] at Mono.Cecil.MetadataSystem.SetReverseNestedTypeMapping (UInt32 nested, UInt32 declaring) [0x00000] in <filename unknown>:0 | |
2878: [Unity] at Mono.Cecil.MetadataReader.AddNestedMapping (UInt32 declaring, UInt32 nested) [0x00000] in <filename unknown>:0 | |
2879: [Unity] at Mono.Cecil.MetadataReader.InitializeNestedTypes () [0x00000] in <filename unknown>:0 | |
2880: [Unity] at Mono.Cecil.MetadataReader.InitializeTypeDefinitions () [0x00000] in <filename unknown>:0 | |
2881: [Unity] at Mono.Cecil.MetadataReader.ReadTypes () [0x00000] in <filename unknown>:0 | |
2882: [Unity] at Mono.Cecil.ModuleDefinition.<get_Types>b__8 (Mono.Cecil.ModuleDefinitio |
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
#if ! UNITY_EDITOR | |
#define DEBUG_LOG_OVERWRAP | |
#endif | |
using UnityEngine; | |
#if DEBUG_LOG_OVERWRAP | |
public static class Debug | |
{ | |
static public void Break() |
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 UniRx; | |
using UniRx.Triggers; | |
public class Test : MonoBehaviour | |
{ | |
void Start () | |
{ | |
var key = this.UpdateAsObservable() |
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
ちょろっとしたことがやりたいだけなのに、やたらとつまづいているので一旦状況を整理する。 | |
Python触るの初めてで、勝手の分からんからつまづいているんだと思う。 | |
やりたいことは下記にあることまんま。 | |
GoogleAppEngineでPythonからSpreadSheetにアクセスして、内容を読む。それだけ。 | |
http://qiita.com/koyopro/items/d8d56f69f863f07e9378 | |
自分が作業している環境 | |
MacOS 10.10.3 | |
Python 2.7.6 |
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 UniRx; | |
public class Ball : MonoBehaviour | |
{ | |
void Awake () | |
{ | |
// var stream = Observable | |
// .EveryUpdate () |
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
<?php | |
class Random | |
{ | |
private static $cnt; | |
public static function init($seed) | |
{ | |
mt_srand($seed); | |
self::$cnt = 0; |
NewerOlder