mirror of
https://github.com/Mukheem/TwinTurbine.git
synced 2025-04-26 06:10:34 +02:00
Debugging lines is turned off
This commit is contained in:
parent
ef75988fee
commit
01e8803348
Assets
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user