Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</head>
<body>
<h1>Title</h1>
<p id="01">hello</p>
<script src="jquery.fittext.js"></script>
<script>
$("h1").fitText(0.8);
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript" src="footerFixed.js"></script>
</head>
<body>
<div id="footer">...</div>
</body>
</html>
void OnParticleCollision(GameObject objct){
//処理内容
//例)衝突したオブジェクトタグがenemyだった場合、オブジェクトを破壊する
if(obj.gameObject.tag == "enemy"){
Object.Destroy(gameObject);
}
}
@unitymasCS
unitymasCS / faceChange.pde
Last active August 29, 2015 14:12
顔検出&画像貼り付け for Processing
import processing.video.*;
import gab.opencv.*;
import java.awt.Rectangle;
Capture video;
OpenCV opencv;
Rectangle[] faces;
PImage pic;