Skip to content

Commit fbe6eb8

Browse files
committed
Add ignores for obsolete method calls
- Fixes #73
1 parent 05efc49 commit fbe6eb8

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

Assets/USharpVideo/Scripts/Editor/USharpVideoInspector.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
using VRC.SDK3.Video.Components.AVPro;
77
using System.Reflection;
88

9+
#pragma warning disable CS0612 // Type or member is obsolete
10+
911
namespace UdonSharp.Video.Internal
1012
{
1113
[CustomEditor(typeof(USharpVideoPlayer))]

Assets/USharpVideo/Scripts/UI/UIStyler.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
using UdonSharpEditor;
1313
#endif
1414

15+
#pragma warning disable CS0612 // Type or member is obsolete
16+
1517
namespace UdonSharp.Video.UI
1618
{
1719
[AddComponentMenu("Udon Sharp/Video/UI/Styler")]

Assets/USharpVideo/Scripts/Utility/RenderTextureOutput.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
using UdonSharpEditor;
1111
#endif
1212

13+
#pragma warning disable CS0612 // Type or member is obsolete
14+
1315
namespace UdonSharp.Video
1416
{
1517
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]

Assets/USharpVideo/Scripts/VideoPlayerManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
using UdonSharpEditor;
1313
#endif
1414

15+
#pragma warning disable CS0612 // Type or member is obsolete
16+
1517
namespace UdonSharp.Video
1618
{
1719
/// <summary>

0 commit comments

Comments
 (0)