Первый коммит

This commit is contained in:
2024-04-20 11:16:35 +03:00
parent 284e0891d9
commit 2452b24ee5
5427 changed files with 4562744 additions and 0 deletions

View File

@ -0,0 +1,33 @@
//----------------------------------------------
// 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;
/// <summary>
/// RCC inputs.
/// </summary>
[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;
}