Skip to content

Instantly share code, notes, and snippets.

@tanakaedu
tanakaedu / index.html
Last active August 29, 2015 14:11
UnityのWeb Player起動用HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity Web Player | milkunity-doccheck</title>
<script type='text/javascript' src='https://ssl-webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/jquery.min.js'></script>
<script src="http://cdn.mlkcca.com/v0.2.8/milkcocoa.js"></script>
<script src="main.js"></script>
<script type="text/javascript">
<!--
@tanakaedu
tanakaedu / RightHand.cs
Created August 23, 2015 14:39
Unityちゃんの右手用のコード
using UnityEngine;
using System.Collections;
public class RightHand : MonoBehaviour {
private Transform transAnimatorRightHand = null;
// Use this for initialization
void Start () {
string path = "Character1_Reference"
+ "/Character1_Hips"
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
System.out.println("in"+line);
}
// in0930.java
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class in0930 {
public static void main(String[] args) throws Exception {
// paiza.ioでは、標準入力は、[入力]タブから読み込む
String input=new java.util.Scanner(
System.in).nextLine();
System.out.println("input="+input);
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
java.util.Scanner sc = new java.util.Scanner(System.in);
String a;
String b;
a=sc.nextLine();
b=sc.nextLine();
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
// 入力が「こんにちは」の時、「こんにちは」と表示する。
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// 変数の定義
int atai1=0;
int atai2=0;
int kotae=0;
// Here your code !
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Random;
public class Janken {
static Random rg = new Random();
public static void main(String[] args) throws Exception {
int comp;
// 0~2までの乱数をint型の変数compに求める
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Random;
public class Janken {
static Random rg = new Random();
public static void main(String[] args) throws Exception {
int comp;
String result = ""; // 結果の文字列
for (var count = 0; count < 2; count++) {
moveForward();
placeBlock("planksOak");
}
turnLeft();
moveForward();
placeBlock("planksBirch");
turnRight();
for (var count2 = 0; count2 < 2; count2++) {