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
// coded by Nora | |
// http://stereoarts.jp | |
using UnityEngine; | |
using System.Collections.Generic; | |
public class VRSkybox : MonoBehaviour | |
{ | |
public enum Shape | |
{ | |
Sphere, |
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; | |
public class StaticCoroutine : MonoBehaviour | |
{ | |
private static StaticCoroutine _instance; | |
public static void Do(IEnumerator enumerator) | |
{ | |
if (_instance == null) |
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
function Roll(sides) | |
{ | |
return 1 + Math.round(Math.random()*(sides - 1)); | |
} | |
function RollForStat() | |
{ | |
var totals = [Roll(6), Roll(6), Roll(6), Roll(6)]; | |
var lowestIndex = 0; | |
var lowestNumber = totals[0]; |
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
<html> | |
<title>RANDOM name generator</title> | |
<body onLoad="OnLoad()"> | |
<button id="generate" onClick="GenerateClicked()">Generate</button> | |
<table id="names"> | |
</table> | |
<script> | |
var table = {}; | |
var vowels = "aeiouy"; |
OlderNewer