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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
// Little utility to check for shortcut key collisions because it's hard to | |
// know if you're duplicating one from anywhere else. |
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 System; | |
using UnityEngine; | |
using Oculus.Avatar; | |
// Smoothly tween between the "real" hand pose that comes out of the | |
// Oculus Avatar SDK and a custom grip pose. | |
// | |
// ## Why? |
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
// Do NOT put me in an /Editor/ folder | |
// Questions/bugs: [email protected] | |
using UnityEngine; | |
public class HighlightAttribute : PropertyAttribute { | |
public Color col; | |
public HighlightAttribute(float r=1, float g=0, float b=0) { | |
this.col = new Color(r,g,b,1); |