void SetupInput()
 {
     if (GetComponent <TwoDTools.PlayerController2DInput>() == null)
     {
         gameObject.AddComponent <TwoDTools.PlayerController2DInput>();
     }
     input = GetComponent <TwoDTools.PlayerController2DInput>();
 }
 public void SetControllerInput(TwoDTools.PlayerController2DInput input)
 {
     this.input = input;
 }