Variables globales Unity

//1. declare variable in global scope
 int num;
 
 function count() {]
 
 //2. static modifer
 
 public static int num;
Trout