Skip to content

Commit 13c9390

Browse files
committed
docs: american english typos
1 parent 16a30f4 commit 13c9390

File tree

1 file changed

+11
-11
lines changed
  • src/Packages/Passport/Samples~/PassportManagerPrefab

1 file changed

+11
-11
lines changed

src/Packages/Passport/Samples~/PassportManagerPrefab/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ That's it! No scripts, no event handling, no code. Pure drag-and-drop! 🚀
3232

3333
- ✅ Mobile-first responsive UI that works on all screen sizes
3434
- ✅ Pre-styled social login buttons (Google red, Apple black, Facebook blue)
35-
- ✅ Automatic panel switching (login → logged-in state)
35+
- ✅ Automatic panel switching (login → logged-in state)
3636
- ✅ Status messages and user info display
3737
- ✅ Zero code required - just configure and play!
3838

@@ -70,16 +70,16 @@ That's it! No scripts, no event handling, no code. Pure drag-and-drop! 🚀
7070

7171
- **Environment**: `SANDBOX` (default) or `PRODUCTION`
7272
- **Auto Initialise**: Automatically initialise on Start (default: true)
73-
- **Auto Login**: Automatically attempt login after initialization (default: false)
73+
- **Auto Login**: Automatically attempt login after initialisation (default: false)
7474
- **Direct Login Method**: Default login method for auto-login and generic login button (None, Google, Apple, Facebook)
7575
- **Default Marketing Consent**: Default consent status for marketing communications (Unsubscribed, OptedIn)
7676
- **Log Level**: Control debug output verbosity
7777

78-
### UI Customization (PassportManagerComplete)
78+
### UI Customisation (PassportManagerComplete)
7979

8080
The complete prefab creates UI at runtime, which means you can customise the appearance:
8181

82-
**Runtime Customization:**
82+
**Runtime Customisation:**
8383

8484
- The UI is built using Unity's default UI style
8585
- All UI elements can be accessed and modified after creation
@@ -96,7 +96,7 @@ The complete prefab creates UI at runtime, which means you can customise the app
9696
**Colour Scheme:**
9797

9898
- Google Button: Red (#DB4437) with white text
99-
- Apple Button: Black with white text
99+
- Apple Button: Black with white text
100100
- Facebook Button: Blue (#4267B2) with white text
101101
- Default Button: White with black text
102102
- Background Panel: Semi-transparent dark (10% opacity)
@@ -107,7 +107,7 @@ Simply drag UI elements from your scene into these fields and they'll be automat
107107

108108
- **Login Button**: Triggers default login method
109109
- **Google Login Button**: Triggers Google-specific login
110-
- **Apple Login Button**: Triggers Apple-specific login
110+
- **Apple Login Button**: Triggers Apple-specific login
111111
- **Facebook Login Button**: Triggers Facebook-specific login
112112
- **Logout Button**: Triggers logout
113113
- **Status Text**: Shows current authentication status (Legacy Text OR TextMeshPro)
@@ -119,10 +119,10 @@ Simply drag UI elements from your scene into these fields and they'll be automat
119119

120120
The prefab exposes Unity Events that you can wire up in the Inspector:
121121

122-
### Initialization Events
122+
### Initialisation Events
123123

124124
- `OnPassportInitialized`: Fired when Passport is ready
125-
- `OnPassportError`: Fired if initialization fails
125+
- `OnPassportError`: Fired if initialisation fails
126126

127127
### Authentication Events
128128

@@ -145,7 +145,7 @@ if (manager.IsInitialized && manager.IsLoggedIn)
145145
// Access the underlying Passport instance
146146
var email = await manager.PassportInstance.GetEmail();
147147
var accessToken = await manager.PassportInstance.GetAccessToken();
148-
148+
149149
// Note: GetAddress() requires IMX connection via ConnectImx()
150150
// var address = await manager.PassportInstance.GetAddress();
151151
}
@@ -288,10 +288,10 @@ void Start() {
288288
void RestoreInput() {
289289
// For FPS games:
290290
Cursor.lockState = CursorLockMode.Locked;
291-
291+
292292
// For menu-driven games:
293293
Cursor.lockState = CursorLockMode.None;
294-
294+
295295
// Ensure cursor is visible for UI
296296
Cursor.visible = true;
297297
}

0 commit comments

Comments
 (0)