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
<!-- Assets/WebGLTemplates/FullWindow あたりに格納して Player Settings で選択 --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>%UNITY_WEB_NAME%</title> | |
<script src="%UNITY_WEBGL_LOADER_URL%"></script> | |
<script> | |
const gameInstance = UnityLoader.instantiate("gameContainer", "%UNITY_WEBGL_BUILD_URL%"); |
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
var gulp = require("gulp"); | |
var gutil = require("gulp-util"); | |
var notify = require('gulp-notify'); | |
var source = require("vinyl-source-stream"); | |
var buffer = require('vinyl-buffer'); | |
var browserify = require("browserify"); | |
var watchify = require("watchify"); | |
var babelify = require("babelify"); | |
var browserSync = require("browser-sync").create(); |
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
# Pretty URL (remove last index.html) | |
# usage: {{ post.url | pretty }} | |
module Jekyll | |
module Pretty | |
def pretty(url) | |
if url[-10..-1] == "index.html" | |
url = url[0..-11] | |
end |
NewerOlder