This is Coding part of my program:
public void SkipReplayCalled ()
{
AchievedIDs = new ArrayList();
isAnimating = false;
this.gameObject.transform.localPosition = new Vector3(0, 1100, -0.1f);
iTween iTweenHandler = this.gameObject.GetComponent ("iTween");
if(iTweenHandler != null)
{
Destroy (iTweenHandler);
}
}
This is Error I got>>> error CS0266: Cannot implicitly convert type UnityEngine.Component' to iTween’. An explicit conversion exists (are you missing a cast?)
How to solve this problem??