private void Awake()
 {
     if (!LevelSerializer.IsDeserializing)
     {
         this.InitNonProxied();
     }
     WorkScheduler.RegisterGlobal(new WsTask(this.CheckInCave), false);
 }
Example #2
0
 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);
 }
Example #3
0
 private void Awake()
 {
     WorkScheduler.RegisterGlobal(new WsTask(this.CheckInCave), false);
 }