diff --git a/UnityClient/Packages/vbl.urchin/Scripts/Managers/PrimitiveMeshManager.cs b/UnityClient/Packages/vbl.urchin/Scripts/Managers/PrimitiveMeshManager.cs index f87f735d..ee15c20a 100644 --- a/UnityClient/Packages/vbl.urchin/Scripts/Managers/PrimitiveMeshManager.cs +++ b/UnityClient/Packages/vbl.urchin/Scripts/Managers/PrimitiveMeshManager.cs @@ -39,6 +39,8 @@ private void Start() Client_SocketIO.SetScale += SetScale; Client_SocketIO.SetColor += SetColor; Client_SocketIO.SetMaterial += SetMaterial; + + Client_SocketIO.ClearMeshes += Clear; } public void CreateMesh(List meshes) //instantiates cube as default diff --git a/UnityClient/Packages/vbl.urchin/Scripts/Managers/ProbeManager.cs b/UnityClient/Packages/vbl.urchin/Scripts/Managers/ProbeManager.cs index 3d814e51..520a9918 100644 --- a/UnityClient/Packages/vbl.urchin/Scripts/Managers/ProbeManager.cs +++ b/UnityClient/Packages/vbl.urchin/Scripts/Managers/ProbeManager.cs @@ -50,6 +50,8 @@ private void Start() Client_SocketIO.SetProbeAngles += SetAngles; //Client_SocketIO.SetProbeStyle += SetStyles; Client_SocketIO.SetProbeSize += SetSizes; + + Client_SocketIO.ClearProbes += ClearProbes; } #endregion diff --git a/UnityClient/Packages/vbl.urchin/Scripts/Managers/TextManager.cs b/UnityClient/Packages/vbl.urchin/Scripts/Managers/TextManager.cs index 6323c72a..056c4090 100644 --- a/UnityClient/Packages/vbl.urchin/Scripts/Managers/TextManager.cs +++ b/UnityClient/Packages/vbl.urchin/Scripts/Managers/TextManager.cs @@ -32,6 +32,8 @@ private void Start() Client_SocketIO.SetTextColors += SetColor; Client_SocketIO.SetTextSizes += SetSize; Client_SocketIO.SetTextPositions += SetPosition; + + Client_SocketIO.ClearText += Clear; } #endregion diff --git a/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs b/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs index e4da9600..1a7d885c 100644 --- a/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs +++ b/UnityClient/Packages/vbl.urchin/Scripts/Managers/VolumeManager.cs @@ -21,6 +21,8 @@ private void Start() Client_SocketIO.CreateVolume += Create; Client_SocketIO.DeleteVolume += Delete; Client_SocketIO.SetVolumeColormap += SetColormap; + + Client_SocketIO.ClearVolumes += Clear; } #region Public functions