Forum Discussion
yuchang
13 years agoContributor
I found a way to create a script for storing variables:
1. Create a script which define the variable as
var languages = new Array("AR", "CS", "EN");
2. Add Unit References of the script created in the step 1 to the script which uses the variable.
3. In the script which uses the variable declare:
var var1 = dataInput["languages"]
4. The second script can access languages via var1.
Please advise and provide more standard/flexible way to do that.
1. Create a script which define the variable as
var languages = new Array("AR", "CS", "EN");
2. Add Unit References of the script created in the step 1 to the script which uses the variable.
3. In the script which uses the variable declare:
var var1 = dataInput["languages"]
4. The second script can access languages via var1.
Please advise and provide more standard/flexible way to do that.