Skip to content

Commit eec16ad

Browse files
committed
Move the video player references down into the object ref dropdown
1 parent baefe08 commit eec16ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/USharpVideo/Scripts/USharpVideoPlayer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,9 +863,6 @@ public override void OnInspectorGUI()
863863
UdonSharpGUI.DrawProgramSource(target))
864864
return;
865865

866-
EditorGUILayout.PropertyField(unityVideoPlayerProperty);
867-
EditorGUILayout.PropertyField(avProVideoPlayerProperty);
868-
869866
EditorGUILayout.PropertyField(allowSeekProperty);
870867
EditorGUILayout.PropertyField(defaultUnlockedProperty);
871868
EditorGUILayout.PropertyField(syncFrequencyProperty);
@@ -881,6 +878,9 @@ public override void OnInspectorGUI()
881878
{
882879
EditorGUI.indentLevel++;
883880

881+
EditorGUILayout.PropertyField(unityVideoPlayerProperty);
882+
EditorGUILayout.PropertyField(avProVideoPlayerProperty);
883+
884884
EditorGUILayout.PropertyField(screenRendererProperty);
885885
EditorGUILayout.PropertyField(streamRTSourceProperty);
886886

0 commit comments

Comments
 (0)