Example #1
0
    IEnumerator CoPlantAcorn(PlayerItem other)
    {
        other.DropItemAnimationStart();

        yield return(new WaitForSeconds(2));

        GetComponent <EventWaterSoil>().isAcornPlanted = true;

        acorn.DestroyCollisions();

        Destroy(acorn.gameObject);
        Destroy(this);
    }