You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Perfect for:** Developers with custom UI who want just the authentication logic
27
+
28
+
1.**Import the Sample**: Same as above
29
+
2.**Drag the Minimal Prefab**: Drag `PassportManager.prefab` from the Samples folder into your scene
11
30
3.**Configure Settings**: In the Inspector, set your Client ID and redirect URIs
12
31
4.**Use Events or Code**: Subscribe to events or call methods directly
13
32
5.**Test**: Hit Play - the prefab will automatically initialize Passport!
14
33
15
-
### Option 2: Complete UI Integration (No Code Required!)
34
+
### Option 3: Custom UI Integration (Advanced)
35
+
36
+
**Perfect for:** Developers who want their own UI but with helper scripts
16
37
17
38
1.**Import the Sample**: Same as above
18
-
2.**Drag the Prefab**: Same as above
39
+
2.**Drag the Minimal Prefab**: Use `PassportManager.prefab`
19
40
3.**Configure Settings**: Same as above
20
41
4.**Add PassportUIController**: Add the `PassportUIController` script to a GameObject and assign your UI elements (supports both Legacy Text and TextMeshPro)
21
42
5.**Wire Events**: In PassportManager Inspector, connect the events to PassportUIController methods
@@ -38,7 +59,33 @@ The **PassportManager** is a drag-and-drop prefab that provides an easy way to i
0 commit comments