//Throws the equipped throwable to the ground unarmed public void DropThrowable(Throwable_Class throwableToDrop) { throwableToDrop.transform.position = ItemDropPosition.position; throwableToDrop.transform.rotation = ItemDropPosition.rotation; throwableToDrop.Release(ThrowableDropForce, GetComponent <Collider>()); throwableToDrop.TurnOnInteraction(); throwableToDrop = null; }
//Throws the equipped throwable and arms it public void ThrowThrowable() { EquippedThrowableScript.Release(ThrowableForce, GetComponent <Collider>()); EquippedThrowableScript.SetLive(); EquippedThrowableScript = null; }