IInputPlayer.cs 258 B

12345678910111213
  1. using System;
  2. using UnityEngine;
  3. public interface IInputPlayer
  4. {
  5. Vector2 GetJoystick(string axis);
  6. Vector2 GetJoystickRaw(string axis);
  7. bool GetButton(string buttonName);
  8. void SetVibration(float leftMotorValue, float rightMotorValue);
  9. }