void ASConsumableActor::OnUsed(APawn* InstigatorPawn)
{
	ASCharacter* Pawn = Cast<ASCharacter>(InstigatorPawn);
	if (Pawn)
	{
		Pawn->ConsumeFood(Nutrition);
	}

	Super::OnUsed(InstigatorPawn);
}
void ASConsumableActor::OnUsed(APawn* inInstigatorPawn)
{
	Super::OnUsed(inInstigatorPawn);

	ASCharacter* lPawn = Cast<ASCharacter>(inInstigatorPawn);
	if (lPawn)
	{
		lPawn->ConsumeFood(Nutrition);
	}

	Destroy();
}