diff --git a/Assets/SharedSpatialAnchors/Scripts/API.cs b/Assets/SharedSpatialAnchors/Scripts/API.cs index 9b0aab8..7f97ace 100644 --- a/Assets/SharedSpatialAnchors/Scripts/API.cs +++ b/Assets/SharedSpatialAnchors/Scripts/API.cs @@ -206,7 +206,7 @@ public void ExtractDataFromJson(string json) [PunRPC] public void RPC_VoltageUpdate(String voltageGenerated) { - Debug.Log("Voltge generated is - " + voltageGenerated); + //Debug.Log("Voltge generated is - " + voltageGenerated); voltageValue.text = voltageGenerated; } public string GetWindDirection(float degrees) diff --git a/Assets/Wind_Turbine/Scripts/Windturbine.cs b/Assets/Wind_Turbine/Scripts/Windturbine.cs index 2a23e39..3b4e31b 100644 --- a/Assets/Wind_Turbine/Scripts/Windturbine.cs +++ b/Assets/Wind_Turbine/Scripts/Windturbine.cs @@ -46,7 +46,7 @@ public class Windturbine : MonoBehaviour [PunRPC] public void RPC_WT_Turn() { - Debug.Log("WIND SPEED FROM API SCRIPT:" + apiScript.latestWS); + //Debug.Log("WIND SPEED FROM API SCRIPT:" + apiScript.latestWS); transform.localEulerAngles = new Vector3(0.0f, 0.0f, angle); angle += Time.deltaTime * (apiScript.latestWS * 10); // as the value we are fetching could not turn the blades completely, Multiplying the value we are fetching from API by 10.