mirror of
https://github.com/Mukheem/TwinTurbine.git
synced 2025-05-06 10:00:35 +02:00
Proxima UI added
This commit is contained in:
parent
223fbde73a
commit
ef75988fee
Assets/SharedSpatialAnchors
@ -1679,6 +1679,64 @@ Transform:
|
|||||||
m_Father: {fileID: 1929030171}
|
m_Father: {fileID: 1929030171}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1 &1771592182
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1771592184}
|
||||||
|
- component: {fileID: 1771592183}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Proxima
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &1771592183
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1771592182}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: e277581af68d4604da056e460b819656, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
_displayName: TT
|
||||||
|
_port: 7759
|
||||||
|
_password: 123456
|
||||||
|
_useHttps: 0
|
||||||
|
_certificate: {fileID: 0}
|
||||||
|
_certificatePassword:
|
||||||
|
_runOnEnable: 1
|
||||||
|
_logBufferSize: 1000
|
||||||
|
_instantiateStatusUI: 1
|
||||||
|
_instantiateConnectUI: 1
|
||||||
|
_dontDestroyOnLoad: 1
|
||||||
|
_setRunInBackground: 1
|
||||||
|
_serverType: 1
|
||||||
|
_serverUrl:
|
||||||
|
--- !u!4 &1771592184
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1771592182}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 1.3851701, y: 0.9054507, z: -0.015399694}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 8
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &1774543903
|
--- !u!1 &1774543903
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -182,6 +182,8 @@ public void ExtractDataFromJson(string json)
|
|||||||
Debug.Log("Latest WS is - "+latestWS);
|
Debug.Log("Latest WS is - "+latestWS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
windTurbineController = windTurbineWithMap.transform.GetChild(0).gameObject;
|
||||||
|
windTurbineControllerScript = windTurbineController.GetComponent<Windturbine>();
|
||||||
photonView = PhotonView.Get(this);
|
photonView = PhotonView.Get(this);
|
||||||
photonView.RPC("RPC_GreenButtonClick", RpcTarget.All,windDirectionInDirectionTerms,LatestT+" C","Kista",latestWS+" m/s",true);
|
photonView.RPC("RPC_GreenButtonClick", RpcTarget.All,windDirectionInDirectionTerms,LatestT+" C","Kista",latestWS+" m/s",true);
|
||||||
}
|
}
|
||||||
@ -196,11 +198,10 @@ public void ExtractDataFromJson(string json)
|
|||||||
windSpeedValue.SetText(windSpeed);
|
windSpeedValue.SetText(windSpeed);
|
||||||
turn_WT_on_Y_Axis = turn_WT_on_Y_Axis_val; // flag set to true so that WT can rotate on it's Y axis.
|
turn_WT_on_Y_Axis = turn_WT_on_Y_Axis_val; // flag set to true so that WT can rotate on it's Y axis.
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
windTurbineController = windTurbineWithMap.transform.GetChild(0).gameObject;
|
Debug.Log("Flag value to turn the Y Axis:" + turn_WT_on_Y_Axis);
|
||||||
windTurbineControllerScript = windTurbineController.GetComponent<Windturbine>();
|
|
||||||
windTurbineControllerScript.WT_TurnOnIts_Y_Axis();*/
|
windTurbineControllerScript.WT_TurnOnIts_Y_Axis();
|
||||||
}
|
}
|
||||||
[PunRPC]
|
[PunRPC]
|
||||||
public void RPC_VoltageUpdate(String voltageGenerated)
|
public void RPC_VoltageUpdate(String voltageGenerated)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user