2021년 4학년 1학기 기업연계프로젝트2 컴퓨터소프트웨어공학과 <원광투어팀> 팀장 : 송유진 팀원 : 김나영, 이경희, 한유진
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
646 B

5 years ago
  1. using UnityEditor;
  2. using UnityEngine;
  3. using System.CodeDom;
  4. using Microsoft.CSharp;
  5. using System.IO;
  6. using System.CodeDom.Compiler;
  7. using System.Linq;
  8. using System.Collections.Generic;
  9. using System.Reflection;
  10. using System.Linq.Expressions;
  11. using System;
  12. namespace Valve.VR
  13. {
  14. [CustomPropertyDrawer(typeof(SteamVR_UpdateModes))]
  15. public class SteamVR_UpdateModesEditor : PropertyDrawer
  16. {
  17. public override void OnGUI(Rect _position, SerializedProperty _property, GUIContent _label)
  18. {
  19. _property.intValue = EditorGUI.MaskField(_position, _label, _property.intValue, _property.enumNames);
  20. }
  21. }
  22. }