Debugging lines is turned off

This commit is contained in:
Abdul Mukheem Shaik 2024-05-28 00:22:11 +02:00
parent ef75988fee
commit 01e8803348
2 changed files with 2 additions and 2 deletions
Assets
SharedSpatialAnchors/Scripts
Wind_Turbine/Scripts

@ -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)

@ -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.