Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8cc1e914 authored by MONSEIGNE Thibaut's avatar MONSEIGNE Thibaut
Browse files

:arrow_up: Update Dependency LSL4Unity

parent 746bf088
No related branches found
No related tags found
No related merge requests found
Subproject commit a397960001100dd93651114f41e212d7e07f7036
Subproject commit 77c396924397385eedab1eab44f42cb0a5b5001a
......@@ -4,12 +4,12 @@ using UnityEngine;
public class Controller : MonoBehaviour
{
public float Scale = 1;
private FloatInlet _inlet;
private CubeResizer _inlet;
// Start is called before the first frame update
void Start()
{
_inlet = FindObjectOfType<FloatInlet>();
_inlet = FindObjectOfType<CubeResizer>();
Debug.Log(_inlet.StreamName);
}
......
using LSL4Unity.Scripts;
using LSL4Unity.Scripts.OV;
public class FloatInlet : AFloatInlet
public class CubeResizer : OVFloatInlet
{
/// <summary> The last sample. This object is in public to be used in controller script. </summary>
public float[] LastSample;
protected override void Process(float[] newSample, double timeStamp) { LastSample = newSample; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment