public void SetAI(ControllerGeneric controller) { cubeController = controller; //Put Cube on middle gamepadInfo.swipeDirection = Vector2.left; cubeController.NewInputs(gamepadInfo); gamepadInfo.swipeDirection = Vector2.left; cubeController.NewInputs(gamepadInfo); gamepadInfo.swipeDirection = Vector2.right; cubeController.NewInputs(gamepadInfo); line = 0; }
public void setControllerShoot(ControllerGeneric controller) { this.controller = controller; }
public void SetController(ControllerGeneric controller) { this.controller = controller; }