1
0

IBicycleController.cs 507 B

12345678910111213141516171819202122232425
  1. using System;
  2. using UnityEngine;
  3. namespace Controller.Bicycle
  4. {
  5. [Serializable]
  6. public struct BicycleControllerMode
  7. {
  8. public float weightSteering;
  9. public float weightLeaning;
  10. }
  11. public interface IBicycleController
  12. {
  13. BicycleControllerMode ControllerMode { get; set; }
  14. float CurrentSpeed { get; set; }
  15. float CurrentLeaningAngle { get; set; }
  16. float CurrentSteerAngle { get; set; }
  17. Vector3 RigidBodyVelocity { get; }
  18. }
  19. }