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 JsonFunctions; | |
[RequireComponent(typeof(AudioSource))]//AudioClipをアタッチ | |
[DisallowMultipleComponent]//複数アタッチするのを防ぐ | |
public class OutMic : MonoBehaviour { | |
private AudioSource audio;//オーディオ |
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 MiniJSON; | |
using System.Linq; | |
using System.IO; | |
using System.Text; | |
namespace jsonFunctions { | |
public class convertJson : MonoBehaviour |
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
uniform sampler2DRect tex0; | |
//0か1 | |
//左目、奇数、 | |
//右目、偶数 | |
uniform int bIsRightSide; | |
void main(void){ | |
vec2 pos=gl_TexCoord[0].st; | |
float r=texture2DRect(tex0,pos).r; | |
float g=texture2DRect(tex0,pos).g; | |
float b=texture2DRect(tex0,pos).b; |
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
//取り出す数 | |
int extLength; | |
//再帰してる間にインデックスを保存する配列 | |
int [] acArray; | |
//組み合わせ結果が入ってくるデータ | |
String [][] reSt={}; | |
void setup(){ | |
String [] data=new String[5]; | |
data[0]="1"; | |
data[1]="2"; |