Welcome,
Guest
. Please
login
or
register
.
October 03, 2024, 09:56:57 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Variable Names
« previous
next »
Print
Pages: [
1
]
Author
Topic: Variable Names (Read 1421 times)
schellenberghq
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 31
Game Programmer
Variable Names
«
on:
August 21, 2013, 10:06:05 AM »
I'm just wondering why variable names are named as such:
I see this a lot in NGUI source, the variable starts with 'm'.
static
string
mName
;
static
int
mFull
=
-
1
;
static
int
mHints
=
-
1
;
static
int
mWifi
=
-
1
;
static
int
mExp
=
-
1
;
static
int
mPowerSaving
=
-
1
;
Logged
---------------------------
Jacob S.
Game Programmer
---------------------------
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Variable Names
«
Reply #1 on:
August 21, 2013, 10:11:20 AM »
'm' for 'member', as in private member variable.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Variable Names