title: Unity : How to deal with many colliders or triggers at once?
body: <p>In unity, We can deal with collisions and positions with trigger. However, I couldn't find any of information about dealing plural conditions of triggers or collider. </p>
  
  <p>For example, if there is two balls connected with one cylinder, how should I have to control the state of Cylinder Which affected by two different balls.</p>
  
  <ul>
  <li>If ball A is black and ball B is white, than the connected cylinder
  is gray. </li>
  <li>If both A &amp; B is black, cylinder is black. </li>
  <li>If both A &amp; B is
  white, cylinder is white.</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/4vtAl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4vtAl.jpg" alt="enter image description here"></a></p>