Exemplo n.º 1
0
 public void RpcDowned()
 {
     downed = true;
     anim.SetBool("Downed", true);
     downedCollider.enabled = true;
     if (isLocalPlayer)
     {
         if (usingSkillOne)
         {
             AbortSkillOne();
         }
         if (usingSkillTwo)
         {
             AbortSkillTwo();
         }
         octoArrow.SetActive(false);
         nekoArrow.SetActive(false);
         fishermanArrow.SetActive(false);
         StopCoroutine("ResetSpeedBoost");
         skill1Cover.SetActive(false);
         skill2Cover.SetActive(false);
         StopCoroutine("StartSkillOneCooldown");
         StopCoroutine("StartSkillTwoCooldown");
         characterAttacks.Downed();
         CmdChangeDownedVector(isNeko, isOcto, isFisherman, 0, downedTime, 0);
     }
 }