public void StartProduce(float t, ProductType type) { wait_icon_anim = false; cur_type = type; cur_state = new ProcessState(gameObject, t); cur_state.StartState(); }
public void Ready() { cur_state = new ReadyState(gameObject); cur_state.StartState(); }
public void Start() { cur_type = ProductType.NONE; cur_state = new EmptyState(gameObject); cur_state.StartState(); }