public void StartWithAnimation() { Astronaut a = Instantiate( Library.i.astronautPrefab, transform.position + Vector3.right * -3f - Vector3.up * 0.25f, Quaternion.identity ).GetComponent <Astronaut>(); a.generated = false; Chronos.i.Count(1.75f, true, () => { a.anim.Play("A_Astro_Jump"); anim.Play("A_Shuttle_Open"); }); a.Walk(new Vector2(transform.position.x, transform.position.y) - Vector2.up * 0.25f, () => { this.Board(a); Chronos.i.Count(2f, true, () => { this.TurnOn(); }); }); }