Skip to content

Commit e66e456

Browse files
committed
Add drawing for input field property that was missing
1 parent 3eda685 commit e66e456

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/USharpVideo/Scripts/USharpVideoPlayer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,7 @@ private void OnEnable()
826826
playlistProperty = serializedObject.FindProperty(nameof(USharpVideoPlayer.playlist));
827827

828828
// UI Fields
829+
inputFieldProperty = serializedObject.FindProperty(nameof(USharpVideoPlayer.inputField));
829830
urlTextProperty = serializedObject.FindProperty(nameof(USharpVideoPlayer.urlText));
830831
urlPlaceholderTextProperty = serializedObject.FindProperty(nameof(USharpVideoPlayer.urlPlaceholderText));
831832
masterLockedIconProperty = serializedObject.FindProperty(nameof(USharpVideoPlayer.masterLockedIcon));
@@ -883,6 +884,7 @@ public override void OnInspectorGUI()
883884
EditorGUILayout.PropertyField(screenRendererProperty);
884885
EditorGUILayout.PropertyField(streamRTSourceProperty);
885886

887+
EditorGUILayout.PropertyField(inputFieldProperty);
886888
EditorGUILayout.PropertyField(urlTextProperty);
887889
EditorGUILayout.PropertyField(urlPlaceholderTextProperty);
888890
EditorGUILayout.PropertyField(masterLockedIconProperty);

0 commit comments

Comments
 (0)