//---------------------------------------------- // Realistic Car Controller // // Copyright © 2014 - 2023 BoneCracker Games // https://www.bonecrackergames.com // Buğra Özdoğanlar // //---------------------------------------------- using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// RCC inputs. /// [System.Serializable] public class RCC_Inputs { [Range(0f, 1f)]public float throttleInput = 0f; [Range(0f, 1f)] public float brakeInput = 0f; [Range(-1f, 1f)] public float steerInput = 0f; [Range(0f, 1f)] public float clutchInput = 0f; [Range(0f, 1f)] public float handbrakeInput = 0f; [Range(0f, 1f)] public float boostInput = 0f; public int gearInput = 0; public float orbitX = 0f; public float orbitY = 0f; public Vector2 scroll = Vector2.zero; }