Use released transport in Aetheria Unity development
This commit is contained in:
parent
b068c28253
commit
80500fb3b7
2 changed files with 3 additions and 8 deletions
|
|
@ -15,7 +15,7 @@ public sealed class AetheriaUnityClient : MonoBehaviour
|
|||
private void Awake()
|
||||
{
|
||||
Application.runInBackground = true;
|
||||
var endpoint = Environment.GetEnvironmentVariable("EVEUNITY_RENDEZVOUS_ENDPOINT") ?? "rudp://127.0.0.1:3076";
|
||||
var endpoint = Environment.GetEnvironmentVariable("EVEUNITY_RENDEZVOUS_ENDPOINT") ?? "cultnet+tcp://127.0.0.1:3076";
|
||||
var surfaceId = Environment.GetEnvironmentVariable("EVEUNITY_SURFACE_ID") ?? "aetheria.pilot";
|
||||
var replicaPath = Path.Combine(Application.persistentDataPath, "aetheria-unity.cc");
|
||||
|
||||
|
|
@ -73,11 +73,6 @@ public sealed class AetheriaUnityClient : MonoBehaviour
|
|||
camera.nearClipPlane = 0.05f;
|
||||
camera.farClipPlane = 10000f;
|
||||
|
||||
var lightObject = new GameObject("World Light");
|
||||
var light = lightObject.AddComponent<Light>();
|
||||
light.type = LightType.Directional;
|
||||
light.intensity = 1.4f;
|
||||
lightObject.transform.rotation = Quaternion.Euler(50f, -35f, 0f);
|
||||
}
|
||||
|
||||
private void OnGUI()
|
||||
|
|
|
|||
|
|
@ -211,10 +211,10 @@ namespace Aetheria.Editor
|
|||
public static bool IsStarting => _launcher != null && !_launcher.HasExited;
|
||||
public static string Status => _status;
|
||||
public static string LastError => _lastError;
|
||||
public static string Endpoint => $"rudp://127.0.0.1:{Port}";
|
||||
public static string Endpoint => $"cultnet+tcp://127.0.0.1:{Port}";
|
||||
public static string ProcessIdText => IsRunning ? _daemon.Id.ToString(CultureInfo.InvariantCulture) : "-";
|
||||
public static string StatePath => Path.Combine(ProjectRoot, "Aetheria.Unity", "Build", "aetheria-unity-dev.cc");
|
||||
public static string CultLibRoot => ResolveSibling("CultLib-release", "CultLib");
|
||||
public static string CultLibRoot => ResolveSibling("CultLib-codex-cultmesh-reliability", "CultLib-release", "CultLib");
|
||||
public static string YmirRoot => ResolveSibling("Ymir-aetheria-integration", "Ymir");
|
||||
public static string EveUnityRoot => ResolveSibling("EveUnity");
|
||||
private static int Port => EditorPrefs.GetInt(PortPreference, 3076);
|
||||
|
|
|
|||
Loading…
Reference in a new issue