- 非同期処理
- 状態管理
- UIとドメインレイヤーの分離
- エコシステム
- 言語
- テスト
- iOS / Androidのトレンド、これまでこれから
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
#!/bin/bash | |
CMD=/Applications/Unity/Unity.app/Contents/MacOS/Unity | |
LOG=/tmp/unity.log | |
PROJECT_DIR=`pwd` | |
$CMD \ | |
-batchmode \ | |
-logfile $LOG \ |
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; | |
public class LazyResource<T> where T : UnityEngine.Object | |
{ | |
public T _value; | |
public T Value | |
{ | |
get | |
{ | |
if (_value == null) |
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; | |
using NUnit.Framework; | |
namespace GeoHex | |
{ | |
[TestFixture] | |
public class GeoHexPerformanceTest | |
{ | |
[Test] | |
public void Pow3Test() |
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; | |
using System.IO; | |
using Newtonsoft.Json; | |
using UnityEngine; | |
using UnityEditor; | |
using NUnit.Framework; | |
public class JsonPerformanceTest | |
{ | |
[Serializable] |
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; | |
namespace App | |
{ | |
public class CameraFinder : MonoBehaviour | |
{ | |
public Camera DisposeCamera; | |
private Canvas _canvas; | |
// 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 UnityEngine; | |
using System.Collections; | |
using System.Runtime.InteropServices; | |
public class HelloPlugin : MonoBehaviour | |
{ | |
[DllImport ("__Internal")] | |
private static extern void hello_ (); | |
[DllImport ("__Internal")] |
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
/* | |
* dht11.c: | |
* Simple test program to test the wiringPi functions | |
* DHT11 test | |
*/ | |
#include <wiringPi.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
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
package me.mattak.example; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Test; | |
import rx.Observer; | |
import rx.Subscription; | |
import rx.subjects.PublishSubject; |
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
#!bash -e | |
P12_FILE=${1} | |
BASE_FILE=${P12_FILE%.p12} | |
PEM_FILE=${BASE_FILE}.pem | |
PEM_KEY_FILE=${BASE_FILE}_key.pem | |
PEM_NOPASS_KEY_FILE=${BASE_FILE}_nopass_key.pem | |
PEM_CERT_FILE=${BASE_FILE}_cert.pem |