コード例 #1
0
    public void DropHeldObject()
    {
        if (heldObject == null)
        {
            return;
        }

        heldObject.BecomeDropped();
        heldObject = null;
        // Visuals
        sweat.Desactivate();
        anim.SetBool("Carrying", false);
        // le son est trop proche du grab, je vais voir pour changer ça
        SoundPlayer.PlayWithRandomPitch("si_raccoon_droping_item", 0.5f);
    }