Prove Aetheria world through generic EveUnity host
This commit is contained in:
parent
c0a7be3fd9
commit
a705fc6cd7
2 changed files with 186 additions and 0 deletions
|
|
@ -81,6 +81,21 @@ namespace GameCult.Aetheria.EveRuntime
|
|||
remove => ((IEveUnitySceneLiveProviderTransport)Bridge).AssetManifestDocumentAvailable -= value;
|
||||
}
|
||||
|
||||
public void Configure(
|
||||
string stateFilePath,
|
||||
string surfaceId = AetheriaRuntimeDaemonGameSurfaceBuilder.SurfaceId,
|
||||
string runtimeId = "unity-scene")
|
||||
{
|
||||
Dispose();
|
||||
stateFilePathOverride = stateFilePath ?? "";
|
||||
this.surfaceId = string.IsNullOrWhiteSpace(surfaceId)
|
||||
? AetheriaRuntimeDaemonGameSurfaceBuilder.SurfaceId
|
||||
: surfaceId;
|
||||
this.runtimeId = string.IsNullOrWhiteSpace(runtimeId)
|
||||
? "unity-scene"
|
||||
: runtimeId;
|
||||
}
|
||||
|
||||
public override void Connect()
|
||||
{
|
||||
Bridge.Connect();
|
||||
|
|
|
|||
Loading…
Reference in a new issue