Detect collision between specific game objects?

I’m trying to make a cooking world and I can’t find any threads similar to what I’m trying to do. How would I go about it if I wanted to, for example, add ketchup to a hotdog when it collides with a ketchup bottle, but do nothing if it collides with an apple?

A simple way to do it is with OnTriggerEnter. Would would check if the gameObject the colliders name is on contains a name you are looking for. I have some example code that is doing haptics. Feel free to look over it

public void OnTriggerEnter(Collider other)
{
if (other != null && (other.gameObject.name.Contains(handTrackerName))) //this is a string containing the name of the gameObject
{
GeneralInteractionMethod(); //This is a method with your main logic
if (other.gameObject.name.Contains(“L”))
{
Networking.LocalPlayer.PlayHapticEventInHand(VRC_Pickup.PickupHand.Left, 0.5f, Single.MaxValue, 0.2f);
}
else
{
Networking.LocalPlayer.PlayHapticEventInHand(VRC_Pickup.PickupHand.Right, 0.5f, Single.MaxValue, 0.2f);
}
}
}