Difference between revisions of "Variables and Properties"

2 bytes removed ,  06:39, 13 February 2012
imported>Evernewjoy
imported>Evernewjoy
Line 183: Line 183:
'''2.''' In the other script, where you want to access the variable from the script above, you must define the following:
'''2.''' In the other script, where you want to access the variable from the script above, you must define the following:


A. the script that contains the variable you want to access, you must define the script as a property, note that the type of the property is the name of the script that contains the variable you want.
* the script that contains the variable you want to access, you must define the script as a property, note that the type of the property is the name of the script that contains the variable you want.


B. a variable that is going to be used to refer to the script property in A (above)
* a variable that is going to be used to refer to the script property in A (above)




Anonymous user