mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
add sdk component to network manager
This commit is contained in:
parent
1d8525d9b6
commit
7080d11d32
@ -132,7 +132,7 @@ namespace EpicTransport {
|
||||
}
|
||||
|
||||
protected static EOSSDKComponent instance;
|
||||
public static EOSSDKComponent Instance {
|
||||
protected static EOSSDKComponent Instance {
|
||||
get {
|
||||
if (instance == null) {
|
||||
return new GameObject("EOSSDKComponent").AddComponent<EOSSDKComponent>();
|
||||
|
@ -73,7 +73,9 @@ namespace QSB
|
||||
eosApiKey.epicDeploymentId = "1f164829371e4cdcb23efedce98d99ad";
|
||||
eosApiKey.epicClientId = "xyza7891TmlpkaiDv6KAnJH0f07aAbTu";
|
||||
eosApiKey.epicClientSecret = "ft17miukylHF877istFuhTgq+Kw1le3Pfigvf9Dtu20";
|
||||
EOSSDKComponent.Instance.apiKeys = eosApiKey;
|
||||
|
||||
var eosSdkComponent = gameObject.AddComponent<EOSSDKComponent>();
|
||||
eosSdkComponent.apiKeys = eosApiKey;
|
||||
|
||||
var eosTransport = gameObject.AddComponent<EosTransport>();
|
||||
// todo eosTransport.SetTransportError = error => _lastTransportError = error;
|
||||
|
Loading…
Reference in New Issue
Block a user