I get a small delay in my android test build after each for loop.
public IEnumerator Pickup()
{
for (int i = 0; i < 40; i++)
{
transform.localScale = Vector2.Lerp (transform.localScale, new Vector2 (1.5f,0.5f), 15f*Time.deltaTime);
yield return 0;
}
//Delay here
for (int i = 0; i < 60; i++)
{
transform.localScale = Vector2.Lerp (transform.localScale, new Vector2 (0.25f,2f), 15f*Time.deltaTime);
yield return 0;
}
//Delay here
for (int i = 0; i < 30; i++)
{
transform.localScale = Vector2.Lerp (transform.localScale, new Vector2 (0.25f,2f), 30f*Time.deltaTime);
SR.color = Color.Lerp (SR.color, new Color (0f, 0f, 0f, 0f), 0.06f);
yield return 0;
}
SR.color = new Color (0f,0f,0f,0f);
Data.GetComponent<DataStore>().Clams += 1;
Hook.GetComponent<Hook>().TotalClams += 1;
Destroy(gameObject);
}