Exemplo n.º 1
0
 protected override void OnControlEnter()
 {
     base.OnControlEnter();
     if (base.localControlled)
     {
         this.clientVitalsSync = base.AddAddon <ClientVitalsSync>();
         ImageEffectManager.GetInstance <GameFullscreen>().fadeColor = Color.black;
         ImageEffectManager.GetInstance <GameFullscreen>().tintColor = Color.white;
         RPOS.DoFade(2f, 2.5f, Color.clear);
         RPOS.SetCurrentFade(Color.black);
         RPOS.HealthUpdate(base.health);
         RPOS.ObservedPlayer = base.controllable;
     }
 }