How to load animation from Assets folder?
<p>I m working on a Android Java Plugin for Unity3D.</p>

<p>I my Android Project, I have a class which is not extending Activity, but i m calling a function from unity &amp; sending current activity in it.</p>

<pre><code>public class abc{    
  void init(final Activity currActivity, .. and some other params)
  {
    .....
    my code here.//
    .... .
  }    
}
</code></pre>

<p>I was using </p>

<pre><code>currAnimation_StartAd = AnimationUtils.loadAnimation(currActivity, R.anim.slide_in_right);
</code></pre>

<p>to load my animation from <strong>res</strong> folder when i was extending Activity.</p>

<p>Now my Problem is, i can't access <strong>res</strong> folder bcoz <strong>i m no more extending Activity</strong>.
Actually even i m not getting any compile time error on <strong>R.anim.slide_in_right</strong>.
But in runtime, Resource <strong>R.anim.slide_in_right: 0x7f040001</strong> not found..</p>

<p><strong>Is there any way to load my animations from assets folder.?</strong></p>

<p>Thankx.</p>
