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 WebSocketSharp; | |
using System.Collections; | |
public class AI : MonoBehaviour { | |
private WebSocket ws_; | |
public string docomoAPIkey = ""; | |
public string oreSay = ""; |
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
// usage: http://2vr.jp/2016/05/10/unity-hololens-tips/#NavigationDrag_Gesture | |
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.VR.WSA.Input; | |
public class HandMove : MonoBehaviour { | |
public TextMesh Log; | |
public TextMesh Status; |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[RequireComponent(typeof(AudioSource))] | |
public class PlayAudio : MonoBehaviour { | |
public AudioClip[] audioClips; | |
private AudioSource audioSource; | |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.VR.WSA.WebCam; | |
using System.Linq; | |
public class YomEmotion : MonoBehaviour { | |
public string EmotionAPIKey = ""; | |
public float CaptureInterval = 60f; |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.VR.WSA.WebCam; | |
using System.Linq; | |
public class YomEmotion : MonoBehaviour { | |
public string EmotionAPIKey = ""; | |
public float CaptureInterval = 60f; |
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 UnityEngine.VR.WSA.Input; | |
public class HoloLensGestures : MonoBehaviour { | |
[SerializeField] | |
UnityEngine.Events.UnityEvent ev; | |
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; | |
public class DebugCameraControl : MonoBehaviour { | |
#if UNITY_EDITOR | |
private Vector3 oldPos; | |
void Update() { | |
if (Input.GetMouseButton(1)) { |
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 System.Runtime.InteropServices; | |
using System.Reflection; | |
using System.IO; | |
/// <summary> | |
/// NovintFalconを操作デバイスとして使うscript ※Windows用(dll依存) | |
/// | |
/// usage: |
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; | |
namespace US { | |
/// <summary> | |
/// Leap Motion Data Visualizer | |
/// Assets/Scripts/LeapDataVisualizer.cs | |
/// </summary> |
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 UnityEditor; | |
using System.Collections; | |
public class AssetStoreLink1 : EditorWindow { | |
[MenuItem("Window/Asset Store - Web")] | |
static void Open() { | |
System.Diagnostics.Process.Start("https://www.assetstore.unity3d.com/jp/"); | |
} |
NewerOlder