title: Making a single animation script control the bool conditions of several different Unity objects?
body: <p>I'm trying to script a text animation for my Android game, which should set an appropriate bool (numbered 1 to 5) true when a certain score is achieved, which then animates a text over the screen.</p>
  
  <p>I created the animation clips for each text object (it's actually a 3D mesh) and gave each one of them the same script which uses a "SetBool" call for each numbered bool under its appropriate if condition.</p>
  
  <p>When I put it only on the first text object and start the player (the condition for the first bool is immediately met) it moves the text as intended. But when I put the code on all of the text objects it returns a message that "bool1" doesn't exist (as only the first text object's animation has it) and the animation stops working. So I tried creating the same set of numbered bools for each of the text objects, just so they exist, but it still doesn't work.</p>
  
  <p>What should I do?
  Thanks in advance.</p>