forked from cgvr/DeltaVR
fix problems from merging with upstream
This commit is contained in:
@@ -22,7 +22,9 @@ public class ConfigManager : MonoBehaviour
|
||||
public float volumeSFX = 0.5f;
|
||||
public float volumeUI = 0.5f;
|
||||
public float volumeVO = 0.5f;
|
||||
|
||||
public string trellisUrl = "http://192.168.0.53:7960";
|
||||
public string invokeAiUrl = "http://192.168.0.53:9090";
|
||||
public string invokeAiModelKey = "81d45960-08a0-4b8c-a48b-e7d73b21bfe2";
|
||||
}
|
||||
protected Config currentConfig = new Config();
|
||||
protected string configFileName = "config.json";
|
||||
@@ -194,4 +196,19 @@ public class ConfigManager : MonoBehaviour
|
||||
currentConfig.volumeVO = voVolume;
|
||||
SaveConfigToFile();
|
||||
}
|
||||
|
||||
public string GetTrellisUrl()
|
||||
{
|
||||
return currentConfig.trellisUrl;
|
||||
}
|
||||
|
||||
public string GetInvokeAiUrl()
|
||||
{
|
||||
return currentConfig.invokeAiUrl;
|
||||
}
|
||||
|
||||
public string GetInvokeAiModelKey()
|
||||
{
|
||||
return currentConfig.invokeAiModelKey;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user