for example if i have a gameobject with circle and box colliders… can I have a function that works only on the circle and a different one that works only on the box?
Put your colliders on child gameobjects and use layers: Unity - Manual: Layer-based collision detection