put a range between two degrees into code ? see image .

i have a disc contains 3 areas , i want to attach each area with an angle between two degrees to detect collision with specific spheres , ex : from 0°to 120° is for for sphere A and so on …so how do i put this into code ? i hope this isn’t too much , but i really need this , thank you

you basically want an implementation of color switch in unity? How to make a COLOR SWITCH Replica in Unity (Livestream Tutorial) - YouTube

u the best