private void Start()
 {
     m_EngineInputHandler = GetComponentInChildren <IEngineInputHandler>();
     Assert.IsNotNull(m_EngineInputHandler, $"Couldn't locate IEngineInputHandler. {name} requires it.");
     m_EngineInputHandler.ListenToInput(() => transform.up * Input.GetAxis("Vertical"),
                                        () => - Input.GetAxis("Horizontal"));
 }
    private void Start()
    {
        PlayerShipHealth player = FindObjectOfType <PlayerShipHealth>();

        m_Target = player == null?FindObjectOfType <ScreenWrappingManager>().transform : player.transform;

        m_EngineInputHandler = GetComponentInChildren <IEngineInputHandler>();
        Assert.IsNotNull(m_EngineInputHandler, $"Couldn't locate IEngineInputHandler. {name} requires it.");
        m_EngineInputHandler.ListenToInput(GetMoveDirection, () => 0);
    }
    public override void Enter()
    {
        base.Enter();

        m_EngineInputHandler.ListenToInput(GetMoveDirection, () => 0);
    }