private void OnDestroy() { if (Singleton == this) { Singleton = null; } }
private void OnDestroy() { if (EnvironmentControlCenter.Singleton == this) { EnvironmentControlCenter.Singleton = null; } }
protected void Awake() { EnvironmentControlCenter.Singleton = this; }
public static void freezetime() { EnvironmentControlCenter.ServerSetTiming(new double?((double)(double)time), new double?(0.00)); }
protected void Awake() { Singleton = this; }