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 UniRx; | |
| using UnityEngine; | |
| namespace App.UI | |
| { | |
| public class GoalSeRenderer : MonoBehaviour | |
| { | |
| public AudioSource AudioSource; | |
| void Start() |
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.Diagnostics; | |
| using App.Business; | |
| using Unidux; | |
| using UniRx; | |
| namespace App.UI | |
| { | |
| public partial class Unidux : SingletonMonoBehaviour<Unidux> | |
| { | |
| private Store<State> _store; |
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
| Shader "Custom/IntensiveLine" | |
| { | |
| Properties | |
| { | |
| _LineWidth("LineWidth", Range(0,1)) = 0.5 | |
| _CenterRadius("CenterRadius", Range(0,1)) = 0.5 | |
| } | |
| SubShader | |
| { |
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> |