Первый коммит
This commit is contained in:
33
Assets/RealisticCarControllerV3/Scripts/RCC_Inputs.cs
Normal file
33
Assets/RealisticCarControllerV3/Scripts/RCC_Inputs.cs
Normal 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;
|
||||
|
||||
}
|
Reference in New Issue
Block a user