Skip to content

Commit 2c5f9dc

Browse files
committed
📝 using static import of LSL.LSL class
1 parent 590b72d commit 2c5f9dc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README-Unity.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ using System.Collections;
2727
using System.Collections.Generic;
2828
using UnityEngine;
2929
using LSL;
30+
using static LSL.LSL;
3031

3132
public class LSLInput : MonoBehaviour
3233
{
@@ -41,7 +42,7 @@ public class LSLInput : MonoBehaviour
4142
{
4243
if (streamInlet == null)
4344
{
44-
streamInfos = LSL.LSL.resolve_stream("type", StreamType, 1, 0.0);
45+
streamInfos = resolve_stream("type", StreamType, 1, 0.0);
4546
if (streamInfos.Length > 0)
4647
{
4748
streamInlet = new LSL.StreamInlet(streamInfos[0]);

0 commit comments

Comments
 (0)