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; | |
/// <summary> | |
/// Allows a single GameObject layer to be selected from the inspector when applied to an | |
/// <see langword="int" /> field. Intended to be used when a <see cref="LayerMask" />'s | |
/// multiselection is not suitable. | |
/// </summary> | |
public class LayerFieldAttribute : PropertyAttribute | |
{ | |
} |
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 Oculus.Interaction; | |
using Oculus.Interaction.Input; | |
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
/// <summary> | |
/// Renders the hand. | |
/// <br /><br /> | |
/// |
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.IO; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.PackageManager; | |
using PackageInfo = UnityEditor.PackageManager.PackageInfo; | |
/// <summary> | |
/// Adds a menu command to find and fix all assets that have mismatched main | |
/// object names and file names. I.e., "Main Object Name '{0}' does not match |