Author Topic: Variable Names  (Read 1421 times)

schellenberghq

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 31
  • Game Programmer
    • View Profile
    • Blog
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'.

  1. static string mName;
  2. static int mFull = -1;
  3. static int mHints = -1;
  4. static int mWifi = -1;
  5. static int mExp = -1;
  6. static int mPowerSaving = -1;
---------------------------
Jacob S.
Game Programmer
---------------------------

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Variable Names
« Reply #1 on: August 21, 2013, 10:11:20 AM »
'm' for 'member', as in private member variable.