Exemple #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (!hasAuthority)
     {
         return;
     }
     if (other.CompareTag("Player"))
     {
         other.transform.position = client.currenctCheckPoint;
         tp.StopAllCoroutines();
         dt.Child();
         cr.SetDefaultValue();
         tp.DestroyTransculent();
         tp.destroyEffect();
     }
 }