I have difficult project in Unity Game Engine, i need to create script that load variables from PHP file on server. My PHP script is:
<?php
$MasterServer = "SomeIP1";
$MasterServer2 = "SomeIP2";
$MasterServer3 = "SomeIP3";
echo "1 Server = ".$MasterServer;
echo "2 Server = ".$MasterServer2;
echo "3 Server = ".$MasterServer3;
?>
And the result of this:
1 Server = SomeIP1 2 Server = SomeIP2 3 Server = SomeIP3
How to read these (as variables) in C# and/or JS (Unity3D)?