private void Awake() { if (!LevelSerializer.IsDeserializing) { this.InitNonProxied(); } WorkScheduler.RegisterGlobal(new WsTask(this.CheckInCave), false); }
private void WSRegistration() { if (this.isRegisterd) { WorkScheduler.UnregisterGlobal(new WsTask(this.RefreshVisibilityWork)); } WorkScheduler.RegisterGlobal(new WsTask(this.RefreshVisibilityWork), false); this.isRegisterd = true; this.RefreshVisibility(true); }
private void Awake() { WorkScheduler.RegisterGlobal(new WsTask(this.CheckInCave), false); }