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
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; | |
} |
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; | |
using Leap; | |
public class test : MonoBehaviour { | |
Controller controller = new Controller(); | |
// Use this for initialization | |
void Start () { |
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 Cube : MonoBehaviour { | |
public void OnMouseDown() | |
{ | |
Destroy(gameObject); | |
} | |
} |
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
<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> |
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
<?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.
OlderNewer