Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
float3 committed May 15, 2024
1 parent 29f9cf8 commit 7701887
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Packages/com.llealloo.audiolink/Runtime/Scripts/AudioLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ public void EnableAudioLink()
InitIDs();
_audioLinkEnabled = true;
audioRenderTexture.updateMode = CustomRenderTextureUpdateMode.Realtime;
SetGlobalTextureWrapper(_AudioTexture, audioRenderTexture, RenderTextureSubElement.Default);
SetGlobalTextureWrapper(_AudioTexture, audioRenderTexture, UnityEngine.Rendering.RenderTextureSubElement.Default);

#if UNITY_WEBGL && !UNITY_EDITOR
SetupAnalyserSpace();
Expand All @@ -793,14 +793,14 @@ public void DisableAudioLink()
{
_audioLinkEnabled = false;
if (audioRenderTexture != null) { audioRenderTexture.updateMode = CustomRenderTextureUpdateMode.OnDemand; }
SetGlobalTextureWrapper(_AudioTexture, null, RenderTextureSubElement.Default);
SetGlobalTextureWrapper(_AudioTexture, null, UnityEngine.Rendering.RenderTextureSubElement.Default);

#if UNITY_WEBGL && !UNITY_EDITOR
UnlinkAnalyser(WebALID);
#endif
}

public void SetGlobalTextureWrapper(int nameID, RenderTexture value, RenderTextureSubElement element)
public void SetGlobalTextureWrapper(int nameID, RenderTexture value, UnityEngine.Rendering.RenderTextureSubElement element)
{
#if UDONSHARP
SetGlobalTexture(nameID, value);
Expand Down

0 comments on commit 7701887

Please sign in to comment.