Skip to content

Instantly share code, notes, and snippets.

View ged1959's full-sized avatar

ged ged1959

  • YOIKA
  • Tokyo, Japan
View GitHub Profile
using UnityEngine;
using System.Collections;
public class DelAllButton : MonoBehaviour {
private GameObject Del;
void Start () {
}
using UnityEngine;
using System.Collections;
using Leap;
public class test : MonoBehaviour {
Controller controller = new Controller();
// Use this for initialization
void Start () {
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;
}