You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			26 lines
		
	
	
		
			646 B
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			26 lines
		
	
	
		
			646 B
		
	
	
	
		
			C#
		
	
using UnityEditor;
 | 
						|
using UnityEngine;
 | 
						|
 | 
						|
using System.CodeDom;
 | 
						|
using Microsoft.CSharp;
 | 
						|
using System.IO;
 | 
						|
using System.CodeDom.Compiler;
 | 
						|
 | 
						|
using System.Linq;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Reflection;
 | 
						|
using System.Linq.Expressions;
 | 
						|
using System;
 | 
						|
 | 
						|
 | 
						|
namespace Valve.VR
 | 
						|
{
 | 
						|
    [CustomPropertyDrawer(typeof(SteamVR_UpdateModes))]
 | 
						|
    public class SteamVR_UpdateModesEditor : PropertyDrawer
 | 
						|
    {
 | 
						|
        public override void OnGUI(Rect _position, SerializedProperty _property, GUIContent _label)
 | 
						|
        {
 | 
						|
            _property.intValue = EditorGUI.MaskField(_position, _label, _property.intValue, _property.enumNames);
 | 
						|
        }
 | 
						|
    }
 | 
						|
} |