Skip to content

Instantly share code, notes, and snippets.

View ged1959's full-sized avatar

ged ged1959

  • YOIKA
  • Tokyo, Japan
View GitHub Profile
HandList hands_test = frame.Hands;
Hand leftMost = hands_test.Leftmost;
if (Input.GetKeyDown (KeyCode.Space)) {
f1 = true;
}
if ((f1) & (hands_test.Count == 2)){
f2 = true;
}
using UnityEngine;
using System.Collections;
using Leap;
public class test : MonoBehaviour {
Controller controller = new Controller();
// Use this for initialization
void Start () {
using UnityEngine;
using System.Collections;
public class DelAllButton : MonoBehaviour {
private GameObject Del;
void Start () {
}
using UnityEngine;
using System.Collections;
public class Cube : MonoBehaviour {
public void OnMouseDown()
{
Destroy(gameObject);
}
}
using UnityEngine;
using System.Collections;
public class CreateButton: MonoBehaviour {
public GameObject cube;
//親子関係の設定に使うために、あらかじめ設定。ここから。
private GameObject cubeparent;
private GameObject Cube;
<div style="line-height:1.3em">
<h2>ブログのhtmlひな形</h2>
入れ子になるが、このサイトの<code style="margin: 0px; background: #f5f5f5; line-height: 1.2em; color: #696969; font-size: 1.05em;"">html</code>。
<pre style="margin:20px;padding:15px;background:#f5f5f5;line-height:1.2em"><code style="margin: 0px; background: #f5f5f5; line-height: 1.2em; color: #696969; font-size: 1.05em;"">
</code></pre>
<h2>このサイトの設定について</h2>
@ged1959
ged1959 / gist-gadget.xml
Created September 5, 2016 15:04 — forked from omoshetech-t/gist-gadget.xml
Google gadget for embedding Gist.
<?xml version="1.0"?>
<Module>
<ModulePrefs title="Gist">
<Require feature="dynamic-height"/>
</ModulePrefs>
<UserPref name="id" display_name="Gist ID" required="true" default_value="10683373"/>
<UserPref name="font_size" display_name="Font size (px)" required="true" default_value="12"/>
<UserPref name="line_height" display_name="Line height (px)" required="true" default_value="16"/>
<Content type="html">
<![CDATA[
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.