avatar/Assets/VRCSDK/SDK3A/Editor/Components3/VRCAnimatorRemeasureAvatarEditor.cs
2022-09-27 20:47:45 -07:00

37 lines
1.0 KiB
C#

#if VRC_SDK_VRCSDK3
using UnityEngine;
using UnityEditor;
using VRC.SDK3.Avatars.Components;
//Will be revisiting this, removed temporarily Kiro - Aug/5/2020
/*[CustomEditor(typeof(VRCAnimatorRemeasureAvatar))]
public class VRCAnimatorRemeasureAvatarEditor : Editor
{
VRCAnimatorRemeasureAvatar view;
public void OnEnable()
{
if (target == null) return;
if (view == null)
view = (VRCAnimatorRemeasureAvatar)target;
serializedObject.ApplyModifiedProperties();
}
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(serializedObject.FindProperty("fixedDelay"));
EditorGUILayout.PropertyField(serializedObject.FindProperty("delayTime"), new GUIContent(view.fixedDelay ? "Delay Time (s)" : "Delay Time (%)"));
EditorGUILayout.PropertyField(serializedObject.FindProperty("debugString"));
serializedObject.ApplyModifiedProperties();
//if (_repaint)
// EditorUtility.SetDirty(target);
}
}*/
#endif