blob: 31b8dd399760c9489f80553fdc7d6a0f84de776b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#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
|