@@ -15,6 +15,7 @@ public class ThirdwebManagerEditor : UnityEditor.Editor
15
15
private SerializedProperty optOutUsageAnalyticsProp ;
16
16
private SerializedProperty supportedChainsProp ;
17
17
private SerializedProperty redirectPageHtmlOverrideProp ;
18
+ private SerializedProperty rpcOverridesProp ;
18
19
19
20
private int selectedTab = 0 ;
20
21
private readonly string [ ] tabTitles = { "Client" , "Preferences" , "Misc" , "Debug" } ;
@@ -33,6 +34,7 @@ private void OnEnable()
33
34
optOutUsageAnalyticsProp = FindProperty ( "OptOutUsageAnalytics" ) ;
34
35
supportedChainsProp = FindProperty ( "SupportedChains" ) ;
35
36
redirectPageHtmlOverrideProp = FindProperty ( "RedirectPageHtmlOverride" ) ;
37
+ rpcOverridesProp = FindProperty ( "RpcOverrides" ) ;
36
38
37
39
bannerImage = Resources . Load < Texture2D > ( "EditorBanner" ) ;
38
40
}
@@ -161,15 +163,18 @@ private void DrawMiscTab()
161
163
EditorGUILayout . HelpBox ( "Configure other settings here." , MessageType . Info ) ;
162
164
163
165
// Wallet Connect Settings
164
- GUILayout . Label ( "Wallet Connect Settings" , EditorStyles . boldLabel ) ;
165
- DrawProperty ( supportedChainsProp , "Supported Chains" ) ;
166
+ DrawProperty ( supportedChainsProp , "WalletConnect Supported Chains" ) ;
166
167
167
168
GUILayout . Space ( 10 ) ;
168
169
169
170
// Desktop OAuth Settings
170
- GUILayout . Label ( "Desktop OAuth Settings" , EditorStyles . boldLabel ) ;
171
- EditorGUILayout . LabelField ( "Redirect Page HTML Override" , EditorStyles . boldLabel ) ;
171
+ EditorGUILayout . LabelField ( "OAuth Redirect Page HTML Override" , EditorStyles . boldLabel ) ;
172
172
redirectPageHtmlOverrideProp . stringValue = EditorGUILayout . TextArea ( redirectPageHtmlOverrideProp . stringValue , GUILayout . MinHeight ( 75 ) ) ;
173
+
174
+ GUILayout . Space ( 10 ) ;
175
+
176
+ // RPC Overrides
177
+ DrawProperty ( rpcOverridesProp , "RPC Overrides" ) ;
173
178
}
174
179
175
180
private void DrawDebugTab ( )
0 commit comments