Skip to content

Commit feeed7c

Browse files
committed
WalletUI protected fields
1 parent f5002dd commit feeed7c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Assets/Thirdweb/Core/Scripts/WalletsUI/EmbeddedWalletUI.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ public class EmbeddedWalletUI : MonoBehaviour
3030
[Tooltip("Invoked when the user submits an invalid OTP and can retry.")]
3131
public UnityEvent OnEmailOTPVerificationFailed;
3232

33-
private EmbeddedWallet _embeddedWallet;
34-
private string _email;
35-
private User _user;
36-
private Exception _exception;
37-
private string _callbackUrl;
38-
private string _customScheme;
33+
protected EmbeddedWallet _embeddedWallet;
34+
protected string _email;
35+
protected User _user;
36+
protected Exception _exception;
37+
protected string _callbackUrl;
38+
protected string _customScheme;
3939

4040
#endregion
4141

Assets/Thirdweb/Core/Scripts/WalletsUI/MetamaskUI.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ public class MetamaskUI : MonoBehaviour, IMetaMaskUnityTransportListener
2323

2424
public static MetamaskUI Instance;
2525

26-
private bool _connected;
27-
private bool _authorized;
28-
private Exception _exception;
26+
protected bool _connected;
27+
protected bool _authorized;
28+
protected Exception _exception;
2929

3030
private void Awake()
3131
{

Assets/Thirdweb/Core/Scripts/WalletsUI/WalletConnectUI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class WalletConnectUI : MonoBehaviour
2626

2727
public static WalletConnectUI Instance { get; private set; }
2828

29-
private WCWebSocketBuilder _builder;
29+
protected WCWebSocketBuilder _builder;
3030

3131
private void Awake()
3232
{

0 commit comments

Comments
 (0)