playMaker

Author Topic: Global versus Local Variable Naming  (Read 1692 times)

phannDOTde

  • Full Member
  • ***
  • Posts: 232
    • View Profile
    • Peter Hann .de
Global versus Local Variable Naming
« on: December 14, 2015, 03:15:41 PM »
"Never" name Local Variable the same as a Global Variable - if they are used in the same FSM it might lead sometimes to the situation that all Variables in that FSM Action point only to the Local Variable instead of both i.e. "GlobalFloat" set Float "LocalFloat" becomes "LocalFloat" set Float "LocalFloat".