Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

global variables unity

//1. declare variable in global scope
 int num;
 
 function count() {]
 
 //2. static modifer
 
 public static int num;
 
PREVIOUS NEXT
Tagged: #global #variables #unity
ADD COMMENT
Topic
Name
2+8 =