We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca4e8f0 commit 3f824baCopy full SHA for 3f824ba
Packages/io.chainsafe.web3-unity/Runtime/Scripts/Web3Unity.cs
@@ -69,7 +69,6 @@ public static Web3Unity Instance
69
public static ConnectionScreen ConnectScreen => Instance.GetConnectionScreen();
70
71
[Header("Auto-Initialization")]
72
- [SerializeField] private bool initializeOnAwake;
73
[SerializeField] private bool rememberConnection;
74
75
[Header("GUI Settings")]
@@ -103,14 +102,9 @@ public string PublicAddress
103
102
}
104
105
106
- private async void Awake()
+ private void Awake()
107
{
108
DontDestroyOnLoad(gameObject);
109
-
110
- if (initializeOnAwake)
111
- {
112
- await Initialize(rememberConnection);
113
- }
114
115
116
public Task Initialize()
0 commit comments