Exemplo n.º 1
0
 public static TimeManager Get()
 {
     if(instance == null){
         GameObject go = new GameObject("TimeManager");
         instance = go.AddComponent<TimeManager>();
     }
     return instance;
 }