Ejemplo n.º 1
0
 private void OnDestroy()
 {
     if (Singleton == this)
     {
         Singleton = null;
     }
 }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     if (EnvironmentControlCenter.Singleton == this)
     {
         EnvironmentControlCenter.Singleton = null;
     }
 }
Ejemplo n.º 3
0
 protected void Awake()
 {
     EnvironmentControlCenter.Singleton = this;
 }
Ejemplo n.º 4
0
 protected void Awake()
 {
     EnvironmentControlCenter.Singleton = this;
 }
Ejemplo n.º 5
0
 private void OnDestroy()
 {
     if (EnvironmentControlCenter.Singleton == this)
     {
         EnvironmentControlCenter.Singleton = null;
     }
 }
Ejemplo n.º 6
0
 public static void freezetime()
 {
     EnvironmentControlCenter.ServerSetTiming(new double?((double)(double)time), new double?(0.00));
 }
Ejemplo n.º 7
0
 protected void Awake()
 {
     Singleton = this;
 }