public void RegisterCharacter2D(CharID charID, CharActions2D charActions)
 {
     if (charActionsDic == null)
     {
         charActionsDic2D = new Dictionary <CharID, CharActions2D>();
     }
     charActionsDic2D.Add(charID, charActions);
 }
    IEnumerator ThrowAction()
    {
        CharActions2D other = charActiveHolder.GetChar(otherID);

        throwArrow.enabled = true;
        while (Input.GetButton("PlayerAction"))
        {
            throwArrow.transform.Rotate(-Vector3.forward, Input.GetAxis("Horizontal") * Time.deltaTime * aimSpeed);
            yield return(null);
        }
        throwArrow.enabled = false;
        other.TogglePhysics(true);
        other.ThrowInDirection(throwArrow.transform.right);
        ToggleBraced(true);
        actionStarted = false;
    }