title: Use parameters for variable animation
body: <p>I'd like to animate my Score-GUI text counting up to a variable value but there are two things in my way:</p>
  <h1>1: How can I animate to a variable instead of a fixed value?</h1>
  <h1>2: Why can't I add own properties (like <code>int</code>) to my script and animate them?</h1>
  <p>For #2 I created a property in my script. Yet the editor won't show it in the AddProperty-dialog (as shown below):</p>
  <p><img src="https://i.stack.imgur.com/pjkto.png" alt="enter image description here" /></p>
  <pre><code>public int currentScore = 0;
  
  public int score {
      get { return currentScore; }
      set { this.currentScore += value; }
  }
  </code></pre>
  <p><strong>EDIT:</strong> The animator is set up in the most basic way:</p>
  <p><img src="https://i.stack.imgur.com/EWBpF.png" alt="enter image description here" /></p>