using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ShipFlyState : State {
	[SerializeField]private float flyTime = 1.5f;

	protected override void OnStateShow () {
		UILayer.HideAll ();
		Timer.Add (flyTime, () => {
			State.Show<BattleState>();	
		});
	}
}
