diff --git a/Assets/Racing_Game/Data/Scripts/Camera/CameraController.cs b/Assets/Racing_Game/Data/Scripts/Camera/CameraController.cs index 1e902e61..d37095af 100644 --- a/Assets/Racing_Game/Data/Scripts/Camera/CameraController.cs +++ b/Assets/Racing_Game/Data/Scripts/Camera/CameraController.cs @@ -1,10 +1,8 @@ using UnityEngine; -using System.Collections; -using UnityEngine.InputSystem; namespace RootMotion { - + public class CameraController : MonoBehaviour { @@ -31,7 +29,7 @@ namespace RootMotion public float yMinLimit = -20; // Min vertical angle public float yMaxLimit = 80; // Max vertical angle public bool rotateAlways = true; // Always rotate to mouse? - + [Header("Distance")] public float distance = 10.0f; // The current distance to target public float minDistance = 4; // The minimum distance to target @@ -59,7 +57,7 @@ namespace RootMotion private Vector3 lastUp; //Rotation - + public void SetAngles(Quaternion rotation) { Vector3 euler = rotation.eulerAngles; @@ -85,10 +83,10 @@ namespace RootMotion cam = GetComponent(); - + } - + protected virtual void Update() { @@ -131,7 +129,7 @@ namespace RootMotion // delta rotation if (rotate) { - // var _pass = _rotate.Player.CameraRotation.ReadValue(); + // var _pass = _rotate.Player.CameraRotation.ReadValue(); //x += _pass.normalized.x; //y = ClampAngle(y +_pass.normalized.y * rotationSensitivity, yMinLimit, yMaxLimit); } @@ -152,15 +150,15 @@ namespace RootMotion // Rotation //rotation = Quaternion.AngleAxis(x, Vector3.up) * Quaternion.AngleAxis(y, Vector3.right); - + if (target != null) { // Distance distance += (distanceTarget - distance) * zoomSpeed * deltaTime; - - + + } //transform.rotation = rotation; diff --git a/Assets/Racing_Game/Data/Scripts/Car/Finish.cs b/Assets/Racing_Game/Data/Scripts/Car/Finish.cs index 24e33df9..a29e697a 100644 --- a/Assets/Racing_Game/Data/Scripts/Car/Finish.cs +++ b/Assets/Racing_Game/Data/Scripts/Car/Finish.cs @@ -1,7 +1,8 @@ +using System.Collections.Generic; using TMPro; -using Unity.VisualScripting; using UnityEngine; using UnityEngine.InputSystem; +using UnityEngine.UI; @@ -9,12 +10,16 @@ class Finish : MonoBehaviour { [SerializeField] private GameObject Effects1; [SerializeField] private GameObject Effects2; + public List playerInput; + [SerializeField] private GameObject WinMenu; - [SerializeField] private PlayerInput Player1_Input; - [SerializeField] private PlayerInput Player2_Input; + [SerializeField] private Button SelectedButton; [SerializeField] private TextMeshProUGUI WinText; + [SerializeField] private GameObject StripeActive; + + private void Start() { WinMenu.SetActive(false); @@ -24,6 +29,7 @@ class Finish : MonoBehaviour } private void OnTriggerEnter(Collider other) { + //Debug.Log("Игрок вошёл " + other.gameObject.tag); if (other.gameObject.tag == "Player 1") { OnePlayerWin(); @@ -60,9 +66,17 @@ class Finish : MonoBehaviour Effects1.SetActive(true); Effects2.SetActive(true); WinMenu.SetActive(true); - Player1_Input.enabled = false; - Player2_Input.enabled = false; + SelectedButton.Select(); + if (StaticDataMap.NumPlayer == 1) + { + playerInput[0].DeactivateInput(); + } + else + { + playerInput[0].DeactivateInput(); + playerInput[1].DeactivateInput(); + } } diff --git a/Assets/Racing_Game/Data/Scripts/Map/FollowTarget.cs b/Assets/Racing_Game/Data/Scripts/Map/FollowTarget.cs index 590a0554..a736f612 100644 --- a/Assets/Racing_Game/Data/Scripts/Map/FollowTarget.cs +++ b/Assets/Racing_Game/Data/Scripts/Map/FollowTarget.cs @@ -4,7 +4,7 @@ using UnityEngine; public class FollowTarget : MonoBehaviour { - [SerializeField] private Transform target; + public Transform target; [SerializeField] private Vector3 offset; // Update is called once per frame diff --git a/Assets/Racing_Game/Data/Scripts/Map/FollowYRotation.cs b/Assets/Racing_Game/Data/Scripts/Map/FollowYRotation.cs index 444e0a96..384e8f28 100644 --- a/Assets/Racing_Game/Data/Scripts/Map/FollowYRotation.cs +++ b/Assets/Racing_Game/Data/Scripts/Map/FollowYRotation.cs @@ -4,7 +4,7 @@ using UnityEngine; public class FollowYRotation : MonoBehaviour { - [SerializeField] Transform target; + public Transform target; void Update() { diff --git a/Assets/Racing_Game/Data/Scripts/ScriptRestart.cs b/Assets/Racing_Game/Data/Scripts/ScriptRestart.cs index 953f9a0f..10785fcf 100644 --- a/Assets/Racing_Game/Data/Scripts/ScriptRestart.cs +++ b/Assets/Racing_Game/Data/Scripts/ScriptRestart.cs @@ -8,6 +8,6 @@ public class ScriptRestart : MonoBehaviour /// public void Restart() { - SceneManager.LoadScene(SceneManager.GetActiveScene().name); + SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name); } } diff --git a/Assets/Racing_Game/Data/Scripts/Start/Starter.cs b/Assets/Racing_Game/Data/Scripts/Start/Starter.cs index 658730ef..23fafecf 100644 --- a/Assets/Racing_Game/Data/Scripts/Start/Starter.cs +++ b/Assets/Racing_Game/Data/Scripts/Start/Starter.cs @@ -1,5 +1,7 @@ +using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; +using UnityEngine.Rendering; using UnityEngine.UI; public class Starter : MonoBehaviour @@ -7,8 +9,7 @@ public class Starter : MonoBehaviour [SerializeField] private float _starter = 5f; [SerializeField] private Text _timer; - [SerializeField] private PlayerInput _dontMovePlayer1; - [SerializeField] private PlayerInput _dontMovePlayer2; + public List DontMovePlayer; [SerializeField] private Image _borders; @@ -18,8 +19,15 @@ public class Starter : MonoBehaviour { _timer.text = _starter.ToString(); - _dontMovePlayer1.enabled = false; - _dontMovePlayer2.enabled = false; + if (StaticDataMap.NumPlayer == 1) + { + DontMovePlayer[0].DeactivateInput(); + } + else + { + DontMovePlayer[0].DeactivateInput(); + DontMovePlayer[1].DeactivateInput(); + } _borders.enabled = true; @@ -38,8 +46,18 @@ public class Starter : MonoBehaviour if (_timer != null) { Destroy(_timer.gameObject); - _dontMovePlayer1.enabled = true; - _dontMovePlayer2.enabled = true; + + if (StaticDataMap.NumPlayer == 1) + { + DontMovePlayer[0].ActivateInput(); + } + else + { + DontMovePlayer[0].ActivateInput(); + DontMovePlayer[1].ActivateInput(); + } + + _borders.enabled = false; } } diff --git a/Assets/Racing_Game/Data/Scripts/UI/DriftScore.cs b/Assets/Racing_Game/Data/Scripts/UI/DriftScore.cs index df179215..fbaf1c36 100644 --- a/Assets/Racing_Game/Data/Scripts/UI/DriftScore.cs +++ b/Assets/Racing_Game/Data/Scripts/UI/DriftScore.cs @@ -6,7 +6,7 @@ using UnityEngine; public class DriftScore : MonoBehaviour { - [SerializeField] private Rigidbody playerRB; + public Rigidbody playerRB; [SerializeField] private TMP_Text totalScoreText; [SerializeField] private TMP_Text currentScoreText; [SerializeField] private TMP_Text factorText; diff --git a/Assets/Racing_Game/InputActionAsset/MainScence/MainInputMain.inputactions b/Assets/Racing_Game/InputActionAsset/MainScence/MainInputMain.inputactions index 30f6e12c..59783ab0 100644 --- a/Assets/Racing_Game/InputActionAsset/MainScence/MainInputMain.inputactions +++ b/Assets/Racing_Game/InputActionAsset/MainScence/MainInputMain.inputactions @@ -207,6 +207,61 @@ "isComposite": false, "isPartOfComposite": false }, + { + "name": "2D Vector", + "id": "fc8df150-cf95-48c7-8f83-52e1d99dcc73", + "path": "2DVector", + "interactions": "", + "processors": "", + "groups": "", + "action": "Move", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "up", + "id": "467edd3b-7270-4cbb-aa7f-42da64798aaf", + "path": "/w", + "interactions": "", + "processors": "", + "groups": "", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "down", + "id": "894c888f-08b0-409e-8fad-e6d1a4639052", + "path": "/s", + "interactions": "", + "processors": "", + "groups": "", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "left", + "id": "ca3a6e6d-2921-4807-a507-fffcba159ca0", + "path": "/a", + "interactions": "", + "processors": "", + "groups": "", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "bce8a4c3-41ee-4d46-bcfa-806c9646e5d0", + "path": "/d", + "interactions": "", + "processors": "", + "groups": "", + "action": "Move", + "isComposite": false, + "isPartOfComposite": true + }, { "name": "", "id": "83039f45-6901-4dc9-8336-e0cfce58be6d", @@ -218,6 +273,17 @@ "isComposite": false, "isPartOfComposite": false }, + { + "name": "", + "id": "915669cd-7677-4f5b-96d8-df6b1cb307bd", + "path": "/space", + "interactions": "", + "processors": "", + "groups": "", + "action": "Submit", + "isComposite": false, + "isPartOfComposite": false + }, { "name": "", "id": "34b17771-9abc-4619-baac-eba36fda801d", diff --git a/Assets/Racing_Game/Player/Base.meta b/Assets/Racing_Game/Player/Base.meta new file mode 100644 index 00000000..bb61d131 --- /dev/null +++ b/Assets/Racing_Game/Player/Base.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6c1f37e4a62bfc241adeb23930f10139 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/Player/Player 1.prefab b/Assets/Racing_Game/Player/Base/Player 1.prefab similarity index 100% rename from Assets/Racing_Game/Player/Player 1.prefab rename to Assets/Racing_Game/Player/Base/Player 1.prefab diff --git a/Assets/Racing_Game/Player/Player 1.prefab.meta b/Assets/Racing_Game/Player/Base/Player 1.prefab.meta similarity index 100% rename from Assets/Racing_Game/Player/Player 1.prefab.meta rename to Assets/Racing_Game/Player/Base/Player 1.prefab.meta diff --git a/Assets/Racing_Game/Player/Player 2.prefab b/Assets/Racing_Game/Player/Base/Player 2.prefab similarity index 100% rename from Assets/Racing_Game/Player/Player 2.prefab rename to Assets/Racing_Game/Player/Base/Player 2.prefab diff --git a/Assets/Racing_Game/Player/Player 2.prefab.meta b/Assets/Racing_Game/Player/Base/Player 2.prefab.meta similarity index 100% rename from Assets/Racing_Game/Player/Player 2.prefab.meta rename to Assets/Racing_Game/Player/Base/Player 2.prefab.meta diff --git a/Assets/Racing_Game/Prefabs.meta b/Assets/Racing_Game/Prefabs.meta new file mode 100644 index 00000000..82fa03e9 --- /dev/null +++ b/Assets/Racing_Game/Prefabs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0b32224e57e3eb64e9892562d717ef64 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/Prefabs/Maps.meta b/Assets/Racing_Game/Prefabs/Maps.meta new file mode 100644 index 00000000..d93e8251 --- /dev/null +++ b/Assets/Racing_Game/Prefabs/Maps.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d277f6233b279304cbc93aaa5e50e06f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/Prefabs/Maps/1Map.meta b/Assets/Racing_Game/Prefabs/Maps/1Map.meta new file mode 100644 index 00000000..59f0c8bc --- /dev/null +++ b/Assets/Racing_Game/Prefabs/Maps/1Map.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4f456449c3b306341989af7c85c8b38d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MapsUI/MiniMap(Player1).prefab b/Assets/Racing_Game/Prefabs/Maps/1Map/MiniMap(Player1).prefab similarity index 100% rename from Assets/Racing_Game/UI/MapsUI/MiniMap(Player1).prefab rename to Assets/Racing_Game/Prefabs/Maps/1Map/MiniMap(Player1).prefab diff --git a/Assets/Racing_Game/UI/MapsUI/MiniMap(Player1).prefab.meta b/Assets/Racing_Game/Prefabs/Maps/1Map/MiniMap(Player1).prefab.meta similarity index 100% rename from Assets/Racing_Game/UI/MapsUI/MiniMap(Player1).prefab.meta rename to Assets/Racing_Game/Prefabs/Maps/1Map/MiniMap(Player1).prefab.meta diff --git a/Assets/Racing_Game/Scence/Main/Main.unity b/Assets/Racing_Game/Scence/Main/Main.unity index 7b437ac0..6516a362 100644 Binary files a/Assets/Racing_Game/Scence/Main/Main.unity and b/Assets/Racing_Game/Scence/Main/Main.unity differ diff --git a/Assets/Racing_Game/Scence/Maps/1Map/FirstMap.unity b/Assets/Racing_Game/Scence/Maps/1Map/FirstMap.unity index 972dfe5e..7821155a 100644 Binary files a/Assets/Racing_Game/Scence/Maps/1Map/FirstMap.unity and b/Assets/Racing_Game/Scence/Maps/1Map/FirstMap.unity differ diff --git a/Assets/Racing_Game/Scripts.meta b/Assets/Racing_Game/Scripts.meta new file mode 100644 index 00000000..555d1b77 --- /dev/null +++ b/Assets/Racing_Game/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cbf88f804dc74ca4d9c7b7614c2ce684 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/Scripts/Maps.meta b/Assets/Racing_Game/Scripts/Maps.meta new file mode 100644 index 00000000..7f481ef4 --- /dev/null +++ b/Assets/Racing_Game/Scripts/Maps.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ea07be7ccee91904aafbbf9379762ae9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/Scripts/Maps/1Map.meta b/Assets/Racing_Game/Scripts/Maps/1Map.meta new file mode 100644 index 00000000..46d0b1cb --- /dev/null +++ b/Assets/Racing_Game/Scripts/Maps/1Map.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5b831ea087a511543986e121e72cc3cf +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/Scripts/Maps/CheckNumPlayerScript.cs b/Assets/Racing_Game/Scripts/Maps/CheckNumPlayerScript.cs new file mode 100644 index 00000000..69cacd6b --- /dev/null +++ b/Assets/Racing_Game/Scripts/Maps/CheckNumPlayerScript.cs @@ -0,0 +1,28 @@ +using System.Collections.Generic; +using Unity.VisualScripting; +using UnityEngine; +using UnityEngine.InputSystem; + +public class CheckNumPlayerScript : MonoBehaviour +{ + [SerializeField] private SetActiveScript _setActiveFirstPlayer; + [SerializeField] private SetActiveScript _setActiveSecondPlayer; + + [SerializeField] Camera _CameraFirstPlayer; + [SerializeField] Camera _CameraSecondPlayer; + + private void Start() + { + if (StaticDataMap.NumPlayer == 1) + { + _setActiveFirstPlayer.SetActiveSelected(); + _CameraFirstPlayer.rect = new Rect(0f, 0f, 1f, 1f); + } + + else + { + _setActiveFirstPlayer.SetActiveSelected(); + _setActiveSecondPlayer.SetActiveSelected(); + } + } +} diff --git a/Assets/Racing_Game/Scripts/Maps/CheckNumPlayerScript.cs.meta b/Assets/Racing_Game/Scripts/Maps/CheckNumPlayerScript.cs.meta new file mode 100644 index 00000000..4d87a15d --- /dev/null +++ b/Assets/Racing_Game/Scripts/Maps/CheckNumPlayerScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fbd8ab5fed109d44295eebc083744a24 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Scripts/SetActiveScript.cs b/Assets/Racing_Game/Scripts/SetActiveScript.cs similarity index 53% rename from Assets/Racing_Game/UI/MainUI/Scripts/SetActiveScript.cs rename to Assets/Racing_Game/Scripts/SetActiveScript.cs index 05896b55..4a0f6c95 100644 --- a/Assets/Racing_Game/UI/MainUI/Scripts/SetActiveScript.cs +++ b/Assets/Racing_Game/Scripts/SetActiveScript.cs @@ -1,15 +1,14 @@ -using System.Collections; using System.Collections.Generic; using UnityEngine; public class SetActiveScript : MonoBehaviour { - [SerializeField] private List _ActiveGameObject; - [SerializeField] private List _NoActiveGameObject; + public List ActiveGameObject; + public List NoActiveGameObject; public void SetActiveSelected() { - foreach (GameObject item in _ActiveGameObject) + foreach (GameObject item in ActiveGameObject) { item.SetActive(true); } @@ -17,7 +16,7 @@ public class SetActiveScript : MonoBehaviour public void SetNoActiveSelected() { - foreach (GameObject item in _NoActiveGameObject) + foreach (GameObject item in NoActiveGameObject) { item.SetActive(false); } diff --git a/Assets/Racing_Game/UI/MainUI/Scripts/SetActiveScript.cs.meta b/Assets/Racing_Game/Scripts/SetActiveScript.cs.meta similarity index 100% rename from Assets/Racing_Game/UI/MainUI/Scripts/SetActiveScript.cs.meta rename to Assets/Racing_Game/Scripts/SetActiveScript.cs.meta diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/CarButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/CarButton.controller index 33877f9f..2df87218 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/CarButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/CarButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/ExitButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/ExitButton.controller index e73aeb63..17f18ba3 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/ExitButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/ExitButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/InfoButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/InfoButton.controller index 34a40371..a2bd519d 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/InfoButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/InfoButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/MapButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/MapButton.controller index 5003dd40..010e73cd 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/MapButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/MapButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1LeftButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1LeftButton.controller index 8e765412..f4da9439 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1LeftButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1LeftButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1RightButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1RightButton.controller index 3f51e55c..1b8e96ac 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1RightButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar1RightButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2LeftButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2LeftButton.controller index 2ae21ecb..004735eb 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2LeftButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2LeftButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2RightButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2RightButton.controller index 077d7fc9..6954b5ca 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2RightButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectCar2RightButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapLeftButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapLeftButton.controller index 719a146e..059aa735 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapLeftButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapLeftButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapRightButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapRightButton.controller index d9482545..d254cfd2 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapRightButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectMapRightButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectNumPlayer.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectNumPlayer.controller index 95b7f459..ee1b11a6 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectNumPlayer.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectNumPlayer.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectTime.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectTime.controller index a9346c1f..6e66fb18 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectTime.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/SelectTime.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/StartButton.controller b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/StartButton.controller index c7734fcf..7ea33df8 100644 Binary files a/Assets/Racing_Game/UI/MainUI/Animations/Buttons/StartButton.controller and b/Assets/Racing_Game/UI/MainUI/Animations/Buttons/StartButton.controller differ diff --git a/Assets/Racing_Game/UI/MainUI/Prefabs/Button.meta b/Assets/Racing_Game/UI/MainUI/Prefabs/Button.meta new file mode 100644 index 00000000..0125b56b --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Prefabs/Button.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 126f2186aa3dc9844a69b30666aba160 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Scripts/SelectCarPlayerScript.cs b/Assets/Racing_Game/UI/MainUI/Scripts/SelectCarPlayerScript.cs index c693c636..5d3c2c67 100644 --- a/Assets/Racing_Game/UI/MainUI/Scripts/SelectCarPlayerScript.cs +++ b/Assets/Racing_Game/UI/MainUI/Scripts/SelectCarPlayerScript.cs @@ -32,7 +32,7 @@ public class SelectCarPlayerScript : MonoBehaviour _IndexCar = (_IndexCar == _Cars.Count) ? 0 : _IndexCar; _Cars[_IndexCar].SetActive(true); StaticDataMap.CarPlayers[_IndexPlayer] = _Cars[_IndexCar].name; - Debug.Log($"{StaticDataMap.CarPlayers[_IndexPlayer]}"); + //Debug.Log($"{StaticDataMap.CarPlayers[_IndexPlayer]}"); } public void SelectPrevious() @@ -42,6 +42,6 @@ public class SelectCarPlayerScript : MonoBehaviour _IndexCar = (_IndexCar == -1) ? _Cars.Count - 1 : _IndexCar; _Cars[_IndexCar].SetActive(true); StaticDataMap.CarPlayers[_IndexPlayer] = _Cars[_IndexCar].name; - Debug.Log($"{StaticDataMap.CarPlayers[_IndexPlayer]}"); + //Debug.Log($"{StaticDataMap.CarPlayers[_IndexPlayer]}"); } } diff --git a/Assets/Racing_Game/UI/MainUI/Scripts/StartInfoSelectedScript.cs b/Assets/Racing_Game/UI/MainUI/Scripts/StartInfoSelectedScript.cs index f969fbb6..ad14e77b 100644 --- a/Assets/Racing_Game/UI/MainUI/Scripts/StartInfoSelectedScript.cs +++ b/Assets/Racing_Game/UI/MainUI/Scripts/StartInfoSelectedScript.cs @@ -18,10 +18,10 @@ public class StartInfoSelectedScript : MonoBehaviour private void Awake() { StaticDataMap.SelectedMap ??= _MapImages[0].name; - StaticDataMap.Time = "День"; - StaticDataMap.NumPlayer = 1; - StaticDataMap.CarPlayers[0] = _CarsFirstPlayer[0].name; - StaticDataMap.CarPlayers[1] = _CarsSecondPlayer[0].name; + StaticDataMap.Time ??= "День"; + StaticDataMap.NumPlayer ??= 1; + StaticDataMap.CarPlayers[0] ??= _CarsFirstPlayer[0].name; + StaticDataMap.CarPlayers[1] ??= _CarsSecondPlayer[0].name; } private void OnEnable() diff --git a/Assets/TimerOnInactiveScript.cs b/Assets/Racing_Game/UI/MainUI/Scripts/TimerOnInactiveScript.cs similarity index 59% rename from Assets/TimerOnInactiveScript.cs rename to Assets/Racing_Game/UI/MainUI/Scripts/TimerOnInactiveScript.cs index c55d5a7c..cdf1bafb 100644 --- a/Assets/TimerOnInactiveScript.cs +++ b/Assets/Racing_Game/UI/MainUI/Scripts/TimerOnInactiveScript.cs @@ -1,5 +1,6 @@ using UnityEngine; using UnityEngine.InputSystem; +using UnityEngine.InputSystem.Controls; public class TimerOnInactiveScript : MonoBehaviour { @@ -8,7 +9,7 @@ public class TimerOnInactiveScript : MonoBehaviour [SerializeField] GameObject _UIActive; [SerializeField] GameObject _UIInactive; - private float _TargetTime; + [SerializeField] private float _TargetTime; private bool _CanMoveFrom; @@ -28,12 +29,37 @@ public class TimerOnInactiveScript : MonoBehaviour MoveCameraToRound(); } - if (Gamepad.current.wasUpdatedThisFrame) + /// + /// Отслеживание взаимодействия ввода-вывода + /// + //-------------------------------------------------------------------------------------------- + + foreach (var control in Gamepad.current.allControls) + { + if (control is ButtonControl button && button.wasPressedThisFrame) + { + ResetTimer(); + MoveCameraFromRound(); + } + + if (control is AxisControl axis) + { + float value = axis.ReadValue(); + if (Mathf.Abs(value) > 0.1f) // Игнорируем малые изменения + { + ResetTimer(); + MoveCameraFromRound(); + } + } + } + + if (Keyboard.current.wasUpdatedThisFrame) { - //Debug.Log("кнопка нажата"); ResetTimer(); MoveCameraFromRound(); } + + //-------------------------------------------------------------------------------------------- } void MoveCameraToRound() @@ -41,7 +67,6 @@ public class TimerOnInactiveScript : MonoBehaviour _UIActive.SetActive(false); //Debug.Log("Переместился к"); _Animator.Play("MoveCameraToRound"); - } void MoveCameraFromRound() @@ -52,20 +77,16 @@ public class TimerOnInactiveScript : MonoBehaviour _Animator.Play("MoveCameraFromRound"); //Debug.Log("Переместился от"); ResetTimer(); - } - } public void SetActiveInactive() { - _UIInactive.SetActive(true); } public void SetActiveActive() { - _UIActive.SetActive(true); } diff --git a/Assets/TimerOnInactiveScript.cs.meta b/Assets/Racing_Game/UI/MainUI/Scripts/TimerOnInactiveScript.cs.meta similarity index 100% rename from Assets/TimerOnInactiveScript.cs.meta rename to Assets/Racing_Game/UI/MainUI/Scripts/TimerOnInactiveScript.cs.meta diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons.meta new file mode 100644 index 00000000..b401a102 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6383ffa5b97897f41b98114647eaa4b5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base.meta new file mode 100644 index 00000000..d39fbae7 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b54d9cc040042f847925f81d21178957 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base/origin.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base/origin.png new file mode 100644 index 00000000..8ab16cee --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base/origin.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2761d395075f386ecae99d0f7b50ec0a60973b0140a59c0177c4ff56d2f40900 +size 802070 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base/origin.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base/origin.png.meta new file mode 100644 index 00000000..f83ca2b7 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Base/origin.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 738ca25636126b94ea4965cd8403c371 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Chose car.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Chose car.png new file mode 100644 index 00000000..f08c673b --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Chose car.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0058a0deaad8b18367cd0432a73fea42c8db9382918f69f204a908ba2430d708 +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Chose car.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Chose car.png.meta new file mode 100644 index 00000000..7d9b5e49 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Chose car.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 458e6b390fd02b54ba7dffb970240053 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Day.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Day.png new file mode 100644 index 00000000..90e74c1e --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Day.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c44282a990f95d3ba96ac3978ba7e3281d8b558d279184cf413380de04a0eaf +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Day.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Day.png.meta new file mode 100644 index 00000000..9eb706a3 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Day.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 0259691c21b0f1645ba49a5d29f93383 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Exit.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Exit.png new file mode 100644 index 00000000..b9eee584 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Exit.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e2d0d6bfdf1cfca53b76438c5c537a367449e4b414581874506baa9c1b05522 +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Exit.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Exit.png.meta new file mode 100644 index 00000000..d6b0f43e --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Exit.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: f3d1996416297724f95f1d3ce39d3127 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/OnePlayer.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/OnePlayer.png new file mode 100644 index 00000000..f1d7ee5e --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/OnePlayer.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bded1f109b3f6694a4f47f6c99add876772ee45c497be4e540b79b3fda2037c +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/OnePlayer.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/OnePlayer.png.meta new file mode 100644 index 00000000..6818cf78 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/OnePlayer.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: ee0e03855b7728c4c9b7972877f96129 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Start.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Start.png new file mode 100644 index 00000000..23d96800 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Start.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18ddf5531b9cd03537ba5fe5ec54e93523df25f875b5ae70418eaf94fe56b93d +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Start.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Start.png.meta new file mode 100644 index 00000000..2903f538 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/Start.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: a81fde67ac6449f44a9d0955be7ea3df +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/TwoPlayers.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/TwoPlayers.png new file mode 100644 index 00000000..7aaa0ca3 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/TwoPlayers.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33d0d9e86e3cb6c1bd9feadaecd90e1546adafae11e0d761b4ca0993cfeb9ad2 +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/TwoPlayers.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/TwoPlayers.png.meta new file mode 100644 index 00000000..daf4354a --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/TwoPlayers.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: e82ff0dd4ff135349b7c8249ef44837b +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/chose map.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/chose map.png new file mode 100644 index 00000000..869956be --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/chose map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a549dea282adcdb1a88b917ae7e4f7953769e4c1f90e6224c92b7d887f33b4c5 +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/chose map.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/chose map.png.meta new file mode 100644 index 00000000..1c5a203a --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/chose map.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 800aade88e2a0eb479a0b370e7affbe5 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/control.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/control.png new file mode 100644 index 00000000..907b7f7b --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/control.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40cb7fde4c447c0dc59f88794c34bfdfe6636746f46f729d223f418e754d0998 +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/control.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/control.png.meta new file mode 100644 index 00000000..347bd053 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/control.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: d4acf2eca25bdbd4aacc28b6217e9702 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/night.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/night.png new file mode 100644 index 00000000..140ab07d --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/night.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fd218e3c852f212df3854cce90fc6f802acdf265b8928d12cfefe2a9cc7fdc4 +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/night.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/night.png.meta new file mode 100644 index 00000000..3634a1bb --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/night.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 70bf90bf4d9bc374cb257e1e51c6758c +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/post map.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/post map.png new file mode 100644 index 00000000..beaa5887 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/post map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f5d5c8eb3ad18965d46dee251d304519e4cc23a00bdf9871ea05674f8e3041c +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/post map.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/post map.png.meta new file mode 100644 index 00000000..31a52478 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/post map.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 6c75da72ab015df4db249b7e48e069b9 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/pre map.png b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/pre map.png new file mode 100644 index 00000000..75ee7bb4 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/pre map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86e73d523b27adac048ede24cd419916d10deab56ac1a6e28334577fb25ee215 +size 12003785 diff --git a/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/pre map.png.meta b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/pre map.png.meta new file mode 100644 index 00000000..868807f6 --- /dev/null +++ b/Assets/Racing_Game/UI/MainUI/Sprites/Buttons/pre map.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 48503768ab059894db6c48509c51386d +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MapsUI/1Map.meta b/Assets/Racing_Game/UI/MapsUI/1Map.meta new file mode 100644 index 00000000..a0087815 --- /dev/null +++ b/Assets/Racing_Game/UI/MapsUI/1Map.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 90862be0eecf332429f2886f06b7f73d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MapsUI/1Map/BackToMenuScript.cs b/Assets/Racing_Game/UI/MapsUI/1Map/BackToMenuScript.cs new file mode 100644 index 00000000..9446e3f6 --- /dev/null +++ b/Assets/Racing_Game/UI/MapsUI/1Map/BackToMenuScript.cs @@ -0,0 +1,10 @@ +using UnityEngine; +using UnityEngine.SceneManagement; + +public class BackToMenuScript : MonoBehaviour +{ + public void BackToMenu() + { + SceneManager.LoadSceneAsync(0); + } +} diff --git a/Assets/Racing_Game/UI/MapsUI/1Map/BackToMenuScript.cs.meta b/Assets/Racing_Game/UI/MapsUI/1Map/BackToMenuScript.cs.meta new file mode 100644 index 00000000..e82c7bf7 --- /dev/null +++ b/Assets/Racing_Game/UI/MapsUI/1Map/BackToMenuScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a6cf4a93e5b573347b5c8bab985edd59 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_Game/UI/MapsUI/1Map/RestartScript.cs b/Assets/Racing_Game/UI/MapsUI/1Map/RestartScript.cs new file mode 100644 index 00000000..76479a92 --- /dev/null +++ b/Assets/Racing_Game/UI/MapsUI/1Map/RestartScript.cs @@ -0,0 +1,10 @@ +using UnityEngine; +using UnityEngine.SceneManagement; + +public class RestartScript : MonoBehaviour +{ + public void Restart() + { + SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name); + } +} diff --git a/Assets/Racing_Game/UI/MapsUI/1Map/RestartScript.cs.meta b/Assets/Racing_Game/UI/MapsUI/1Map/RestartScript.cs.meta new file mode 100644 index 00000000..1d90f40e --- /dev/null +++ b/Assets/Racing_Game/UI/MapsUI/1Map/RestartScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e7c8fcb910efd4748877f85f86b6bb94 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button.meta b/Assets/Racing_button.meta new file mode 100644 index 00000000..cbad35ff --- /dev/null +++ b/Assets/Racing_button.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b3db8df1a168671499218857d3509c07 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/Chose car.png b/Assets/Racing_button/Chose car.png new file mode 100644 index 00000000..f08c673b --- /dev/null +++ b/Assets/Racing_button/Chose car.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0058a0deaad8b18367cd0432a73fea42c8db9382918f69f204a908ba2430d708 +size 12003785 diff --git a/Assets/Racing_button/Chose car.png.meta b/Assets/Racing_button/Chose car.png.meta new file mode 100644 index 00000000..709af062 --- /dev/null +++ b/Assets/Racing_button/Chose car.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 03dc423632f6ecd4f982b2e9b7d67fbe +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/Day.png b/Assets/Racing_button/Day.png new file mode 100644 index 00000000..90e74c1e --- /dev/null +++ b/Assets/Racing_button/Day.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c44282a990f95d3ba96ac3978ba7e3281d8b558d279184cf413380de04a0eaf +size 12003785 diff --git a/Assets/Racing_button/Day.png.meta b/Assets/Racing_button/Day.png.meta new file mode 100644 index 00000000..75b83866 --- /dev/null +++ b/Assets/Racing_button/Day.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: e58986593f669eb4487abefec5086c04 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/Exit.png b/Assets/Racing_button/Exit.png new file mode 100644 index 00000000..b9eee584 --- /dev/null +++ b/Assets/Racing_button/Exit.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e2d0d6bfdf1cfca53b76438c5c537a367449e4b414581874506baa9c1b05522 +size 12003785 diff --git a/Assets/Racing_button/Exit.png.meta b/Assets/Racing_button/Exit.png.meta new file mode 100644 index 00000000..0a06c320 --- /dev/null +++ b/Assets/Racing_button/Exit.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 9e271f7b39f49e44295b51c1a9db3b2a +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/OnePlayer.png b/Assets/Racing_button/OnePlayer.png new file mode 100644 index 00000000..f1d7ee5e --- /dev/null +++ b/Assets/Racing_button/OnePlayer.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bded1f109b3f6694a4f47f6c99add876772ee45c497be4e540b79b3fda2037c +size 12003785 diff --git a/Assets/Racing_button/OnePlayer.png.meta b/Assets/Racing_button/OnePlayer.png.meta new file mode 100644 index 00000000..3a4d6e8b --- /dev/null +++ b/Assets/Racing_button/OnePlayer.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: b42528a283b66ae4780343e867b52434 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/Start.png b/Assets/Racing_button/Start.png new file mode 100644 index 00000000..23d96800 --- /dev/null +++ b/Assets/Racing_button/Start.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18ddf5531b9cd03537ba5fe5ec54e93523df25f875b5ae70418eaf94fe56b93d +size 12003785 diff --git a/Assets/Racing_button/Start.png.meta b/Assets/Racing_button/Start.png.meta new file mode 100644 index 00000000..a250255b --- /dev/null +++ b/Assets/Racing_button/Start.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: bcf0719766439554e9b030c24f37f41d +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/TwoPlayers.png b/Assets/Racing_button/TwoPlayers.png new file mode 100644 index 00000000..7aaa0ca3 --- /dev/null +++ b/Assets/Racing_button/TwoPlayers.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33d0d9e86e3cb6c1bd9feadaecd90e1546adafae11e0d761b4ca0993cfeb9ad2 +size 12003785 diff --git a/Assets/Racing_button/TwoPlayers.png.meta b/Assets/Racing_button/TwoPlayers.png.meta new file mode 100644 index 00000000..1d011cdc --- /dev/null +++ b/Assets/Racing_button/TwoPlayers.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 5ae654177f1c99b428c3e0a312c6143b +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/chose map.png b/Assets/Racing_button/chose map.png new file mode 100644 index 00000000..869956be --- /dev/null +++ b/Assets/Racing_button/chose map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a549dea282adcdb1a88b917ae7e4f7953769e4c1f90e6224c92b7d887f33b4c5 +size 12003785 diff --git a/Assets/Racing_button/chose map.png.meta b/Assets/Racing_button/chose map.png.meta new file mode 100644 index 00000000..9a791569 --- /dev/null +++ b/Assets/Racing_button/chose map.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: c8e013551b4f53a4b90f27889bf9543d +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/control.png b/Assets/Racing_button/control.png new file mode 100644 index 00000000..907b7f7b --- /dev/null +++ b/Assets/Racing_button/control.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40cb7fde4c447c0dc59f88794c34bfdfe6636746f46f729d223f418e754d0998 +size 12003785 diff --git a/Assets/Racing_button/control.png.meta b/Assets/Racing_button/control.png.meta new file mode 100644 index 00000000..b4f6301d --- /dev/null +++ b/Assets/Racing_button/control.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 1a0f0877343c2a4439e7d912144dd042 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/night.png b/Assets/Racing_button/night.png new file mode 100644 index 00000000..140ab07d --- /dev/null +++ b/Assets/Racing_button/night.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fd218e3c852f212df3854cce90fc6f802acdf265b8928d12cfefe2a9cc7fdc4 +size 12003785 diff --git a/Assets/Racing_button/night.png.meta b/Assets/Racing_button/night.png.meta new file mode 100644 index 00000000..6e4d0de2 --- /dev/null +++ b/Assets/Racing_button/night.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 22e0764c9ba360b4f9a519c77ade5e2d +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/origin.png b/Assets/Racing_button/origin.png new file mode 100644 index 00000000..c3970317 --- /dev/null +++ b/Assets/Racing_button/origin.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b3529681f07e3a25fc8107d17d4c697e82370bdad62404896fb9eff88e8c0616 +size 12003785 diff --git a/Assets/Racing_button/origin.png.meta b/Assets/Racing_button/origin.png.meta new file mode 100644 index 00000000..70f4fd50 --- /dev/null +++ b/Assets/Racing_button/origin.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 6ccddd43994a54442b1b16e3dddadfb8 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/post map.png b/Assets/Racing_button/post map.png new file mode 100644 index 00000000..beaa5887 --- /dev/null +++ b/Assets/Racing_button/post map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f5d5c8eb3ad18965d46dee251d304519e4cc23a00bdf9871ea05674f8e3041c +size 12003785 diff --git a/Assets/Racing_button/post map.png.meta b/Assets/Racing_button/post map.png.meta new file mode 100644 index 00000000..92a42be1 --- /dev/null +++ b/Assets/Racing_button/post map.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 7575c4dfacf290241addd558190ab4b9 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Racing_button/pre map.png b/Assets/Racing_button/pre map.png new file mode 100644 index 00000000..75ee7bb4 --- /dev/null +++ b/Assets/Racing_button/pre map.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86e73d523b27adac048ede24cd419916d10deab56ac1a6e28334577fb25ee215 +size 12003785 diff --git a/Assets/Racing_button/pre map.png.meta b/Assets/Racing_button/pre map.png.meta new file mode 100644 index 00000000..3254d7fb --- /dev/null +++ b/Assets/Racing_button/pre map.png.meta @@ -0,0 +1,140 @@ +fileFormatVersion: 2 +guid: 714d811e2f5362140a0a7bb17c1c10cf +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/RealisticCarControllerV3/Resources/test_rcc.cs b/Assets/RealisticCarControllerV3/Resources/test_rcc.cs new file mode 100644 index 00000000..041dff01 --- /dev/null +++ b/Assets/RealisticCarControllerV3/Resources/test_rcc.cs @@ -0,0 +1,559 @@ +//------------------------------------------------------------------------------ +// +// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator +// version 1.7.0 +// from Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine.InputSystem; +using UnityEngine.InputSystem.Utilities; + +public partial class @Test_rcc: IInputActionCollection2, IDisposable +{ + public InputActionAsset asset { get; } + public @Test_rcc() + { + asset = InputActionAsset.FromJson(@"{ + ""name"": ""test_rcc"", + ""maps"": [ + { + ""name"": ""Vehicle"", + ""id"": ""e778ecfe-5b91-44bf-b7fa-c516e546c833"", + ""actions"": [ + { + ""name"": ""Throttle"", + ""type"": ""Value"", + ""id"": ""719fa1bf-f48b-46d9-8254-7e2c58542997"", + ""expectedControlType"": ""Axis"", + ""processors"": """", + ""interactions"": """", + ""initialStateCheck"": true + }, + { + ""name"": ""Steering"", + ""type"": ""Value"", + ""id"": ""4a484e20-6a82-42e5-8b5b-017674845d1e"", + ""expectedControlType"": ""Vector2"", + ""processors"": """", + ""interactions"": """", + ""initialStateCheck"": true + }, + { + ""name"": ""Handbrake"", + ""type"": ""Button"", + ""id"": ""0b99c730-2ecb-4648-96de-0452e1221e51"", + ""expectedControlType"": ""Button"", + ""processors"": """", + ""interactions"": """", + ""initialStateCheck"": false + }, + { + ""name"": ""NOS"", + ""type"": ""Value"", + ""id"": ""f83566e3-ece7-4a2b-8770-bf682285a87f"", + ""expectedControlType"": ""Axis"", + ""processors"": """", + ""interactions"": ""Press"", + ""initialStateCheck"": true + }, + { + ""name"": ""Menu"", + ""type"": ""Button"", + ""id"": ""d45e86ca-ce8d-44c8-bb37-d4a6549eb962"", + ""expectedControlType"": ""Button"", + ""processors"": """", + ""interactions"": """", + ""initialStateCheck"": false + } + ], + ""bindings"": [ + { + ""name"": ""Gamepad"", + ""id"": ""0ce9d8c6-c73a-4f0f-b589-06157ec578e9"", + ""path"": ""1DAxis"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Throttle"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""negative"", + ""id"": ""ab03bf58-d6f1-4e38-9389-25f8ff5d122c"", + ""path"": ""/leftTrigger"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Throttle"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""positive"", + ""id"": ""d6d6b9ef-4d36-46e0-b3e1-355eb133d84b"", + ""path"": ""/rightTrigger"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Throttle"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Keyboard"", + ""id"": ""9194693b-7c4f-425d-8c96-f54db1eca8b7"", + ""path"": ""1DAxis"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Throttle"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""negative"", + ""id"": ""6c933367-c71d-44dd-abf8-0f71205c4259"", + ""path"": ""/s"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""Throttle"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""positive"", + ""id"": ""14950296-ddfa-45da-a8a1-841dc23e7bed"", + ""path"": ""/w"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""Throttle"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Gamepad"", + ""id"": ""890eb4a4-7dfa-423d-b9dd-a5ba330c7482"", + ""path"": ""2DVector"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Steering"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""Left"", + ""id"": ""17e7d668-3008-4739-a331-639d6356d3d1"", + ""path"": ""/leftStick/left"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Steering"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Right"", + ""id"": ""068e7b91-f796-49ca-a954-d10a2b79065f"", + ""path"": ""/leftStick/right"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Steering"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Keyboard"", + ""id"": ""2b119774-42e0-4af7-a6d0-f80ab7a1d792"", + ""path"": ""2DVector"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Steering"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""left"", + ""id"": ""c4725932-bf77-49b4-ae6a-f2a821af74f3"", + ""path"": ""/a"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""Steering"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""right"", + ""id"": ""7982cd98-2174-4ba5-9336-86444014708c"", + ""path"": ""/d"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""Steering"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Gamepad"", + ""id"": ""7f8ea85c-3a52-47e3-865f-5f276f15d11b"", + ""path"": ""1DAxis(minValue=0)"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Handbrake"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""Negative"", + ""id"": ""d212264c-0e6d-438e-aa32-62d822de1279"", + ""path"": """", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Handbrake"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Positive"", + ""id"": ""b71cea67-2af2-4367-b32b-4d5f2bcd7b25"", + ""path"": ""/buttonWest"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Handbrake"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Keyboard"", + ""id"": ""d3e19a7d-ec2e-4908-bcfc-10ed6149e97a"", + ""path"": ""1DAxis"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""Handbrake"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""negative"", + ""id"": ""c59d61e7-3a15-439d-87fa-8a59b5fe6437"", + ""path"": """", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""Handbrake"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""positive"", + ""id"": ""422064e0-3113-4666-b205-973375de75e0"", + ""path"": ""/space"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""Handbrake"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Gamepad"", + ""id"": ""14b1e5bd-e2a3-43d4-ace6-679f8a78c59c"", + ""path"": ""1DAxis(minValue=0)"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""NOS"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""negative"", + ""id"": ""1ba3adbb-7f60-4bcd-8872-0e763afe48ff"", + ""path"": """", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""NOS"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""positive"", + ""id"": ""ce89976d-be77-4f26-b904-321317383a9c"", + ""path"": ""/buttonSouth"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""NOS"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""Keyboard"", + ""id"": ""57f4b081-cb98-4eb6-86ce-546b71291040"", + ""path"": ""1DAxis"", + ""interactions"": """", + ""processors"": """", + ""groups"": """", + ""action"": ""NOS"", + ""isComposite"": true, + ""isPartOfComposite"": false + }, + { + ""name"": ""negative"", + ""id"": ""b78718e4-3099-4c95-bccc-023c98eae17d"", + ""path"": """", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""NOS"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": ""positive"", + ""id"": ""ccc60a83-d82a-46f0-8cff-8010f269dbe4"", + ""path"": ""/leftShift"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""NOS"", + ""isComposite"": false, + ""isPartOfComposite"": true + }, + { + ""name"": """", + ""id"": ""4d4b1ec5-f611-47d6-a6d3-f6d3ac447c79"", + ""path"": ""/start"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Gamepad"", + ""action"": ""Menu"", + ""isComposite"": false, + ""isPartOfComposite"": false + }, + { + ""name"": """", + ""id"": ""efa8503e-718f-4af5-88c0-6f866190c68e"", + ""path"": ""/escape"", + ""interactions"": """", + ""processors"": """", + ""groups"": ""Keyboard"", + ""action"": ""Menu"", + ""isComposite"": false, + ""isPartOfComposite"": false + } + ] + } + ], + ""controlSchemes"": [ + { + ""name"": ""Gamepad"", + ""bindingGroup"": ""Gamepad"", + ""devices"": [ + { + ""devicePath"": """", + ""isOptional"": false, + ""isOR"": false + } + ] + }, + { + ""name"": ""Keyboard"", + ""bindingGroup"": ""Keyboard"", + ""devices"": [ + { + ""devicePath"": """", + ""isOptional"": false, + ""isOR"": false + } + ] + } + ] +}"); + // Vehicle + m_Vehicle = asset.FindActionMap("Vehicle", throwIfNotFound: true); + m_Vehicle_Throttle = m_Vehicle.FindAction("Throttle", throwIfNotFound: true); + m_Vehicle_Steering = m_Vehicle.FindAction("Steering", throwIfNotFound: true); + m_Vehicle_Handbrake = m_Vehicle.FindAction("Handbrake", throwIfNotFound: true); + m_Vehicle_NOS = m_Vehicle.FindAction("NOS", throwIfNotFound: true); + m_Vehicle_Menu = m_Vehicle.FindAction("Menu", throwIfNotFound: true); + } + + public void Dispose() + { + UnityEngine.Object.Destroy(asset); + } + + public InputBinding? bindingMask + { + get => asset.bindingMask; + set => asset.bindingMask = value; + } + + public ReadOnlyArray? devices + { + get => asset.devices; + set => asset.devices = value; + } + + public ReadOnlyArray controlSchemes => asset.controlSchemes; + + public bool Contains(InputAction action) + { + return asset.Contains(action); + } + + public IEnumerator GetEnumerator() + { + return asset.GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + + public void Enable() + { + asset.Enable(); + } + + public void Disable() + { + asset.Disable(); + } + + public IEnumerable bindings => asset.bindings; + + public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false) + { + return asset.FindAction(actionNameOrId, throwIfNotFound); + } + + public int FindBinding(InputBinding bindingMask, out InputAction action) + { + return asset.FindBinding(bindingMask, out action); + } + + // Vehicle + private readonly InputActionMap m_Vehicle; + private List m_VehicleActionsCallbackInterfaces = new List(); + private readonly InputAction m_Vehicle_Throttle; + private readonly InputAction m_Vehicle_Steering; + private readonly InputAction m_Vehicle_Handbrake; + private readonly InputAction m_Vehicle_NOS; + private readonly InputAction m_Vehicle_Menu; + public struct VehicleActions + { + private @Test_rcc m_Wrapper; + public VehicleActions(@Test_rcc wrapper) { m_Wrapper = wrapper; } + public InputAction @Throttle => m_Wrapper.m_Vehicle_Throttle; + public InputAction @Steering => m_Wrapper.m_Vehicle_Steering; + public InputAction @Handbrake => m_Wrapper.m_Vehicle_Handbrake; + public InputAction @NOS => m_Wrapper.m_Vehicle_NOS; + public InputAction @Menu => m_Wrapper.m_Vehicle_Menu; + public InputActionMap Get() { return m_Wrapper.m_Vehicle; } + public void Enable() { Get().Enable(); } + public void Disable() { Get().Disable(); } + public bool enabled => Get().enabled; + public static implicit operator InputActionMap(VehicleActions set) { return set.Get(); } + public void AddCallbacks(IVehicleActions instance) + { + if (instance == null || m_Wrapper.m_VehicleActionsCallbackInterfaces.Contains(instance)) return; + m_Wrapper.m_VehicleActionsCallbackInterfaces.Add(instance); + @Throttle.started += instance.OnThrottle; + @Throttle.performed += instance.OnThrottle; + @Throttle.canceled += instance.OnThrottle; + @Steering.started += instance.OnSteering; + @Steering.performed += instance.OnSteering; + @Steering.canceled += instance.OnSteering; + @Handbrake.started += instance.OnHandbrake; + @Handbrake.performed += instance.OnHandbrake; + @Handbrake.canceled += instance.OnHandbrake; + @NOS.started += instance.OnNOS; + @NOS.performed += instance.OnNOS; + @NOS.canceled += instance.OnNOS; + @Menu.started += instance.OnMenu; + @Menu.performed += instance.OnMenu; + @Menu.canceled += instance.OnMenu; + } + + private void UnregisterCallbacks(IVehicleActions instance) + { + @Throttle.started -= instance.OnThrottle; + @Throttle.performed -= instance.OnThrottle; + @Throttle.canceled -= instance.OnThrottle; + @Steering.started -= instance.OnSteering; + @Steering.performed -= instance.OnSteering; + @Steering.canceled -= instance.OnSteering; + @Handbrake.started -= instance.OnHandbrake; + @Handbrake.performed -= instance.OnHandbrake; + @Handbrake.canceled -= instance.OnHandbrake; + @NOS.started -= instance.OnNOS; + @NOS.performed -= instance.OnNOS; + @NOS.canceled -= instance.OnNOS; + @Menu.started -= instance.OnMenu; + @Menu.performed -= instance.OnMenu; + @Menu.canceled -= instance.OnMenu; + } + + public void RemoveCallbacks(IVehicleActions instance) + { + if (m_Wrapper.m_VehicleActionsCallbackInterfaces.Remove(instance)) + UnregisterCallbacks(instance); + } + + public void SetCallbacks(IVehicleActions instance) + { + foreach (var item in m_Wrapper.m_VehicleActionsCallbackInterfaces) + UnregisterCallbacks(item); + m_Wrapper.m_VehicleActionsCallbackInterfaces.Clear(); + AddCallbacks(instance); + } + } + public VehicleActions @Vehicle => new VehicleActions(this); + private int m_GamepadSchemeIndex = -1; + public InputControlScheme GamepadScheme + { + get + { + if (m_GamepadSchemeIndex == -1) m_GamepadSchemeIndex = asset.FindControlSchemeIndex("Gamepad"); + return asset.controlSchemes[m_GamepadSchemeIndex]; + } + } + private int m_KeyboardSchemeIndex = -1; + public InputControlScheme KeyboardScheme + { + get + { + if (m_KeyboardSchemeIndex == -1) m_KeyboardSchemeIndex = asset.FindControlSchemeIndex("Keyboard"); + return asset.controlSchemes[m_KeyboardSchemeIndex]; + } + } + public interface IVehicleActions + { + void OnThrottle(InputAction.CallbackContext context); + void OnSteering(InputAction.CallbackContext context); + void OnHandbrake(InputAction.CallbackContext context); + void OnNOS(InputAction.CallbackContext context); + void OnMenu(InputAction.CallbackContext context); + } +} diff --git a/Assets/RealisticCarControllerV3/Resources/test_rcc.cs.meta b/Assets/RealisticCarControllerV3/Resources/test_rcc.cs.meta new file mode 100644 index 00000000..f26ece43 --- /dev/null +++ b/Assets/RealisticCarControllerV3/Resources/test_rcc.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 88c4bb008f1e11f42a25481ffc83d3d8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions b/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions index 7360a457..4e87b427 100644 --- a/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions +++ b/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions @@ -86,7 +86,40 @@ "isPartOfComposite": true }, { - "name": "gamepads", + "name": "Keyboard", + "id": "9194693b-7c4f-425d-8c96-f54db1eca8b7", + "path": "1DAxis", + "interactions": "", + "processors": "", + "groups": "", + "action": "Throttle", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "negative", + "id": "6c933367-c71d-44dd-abf8-0f71205c4259", + "path": "/s", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "Throttle", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "positive", + "id": "14950296-ddfa-45da-a8a1-841dc23e7bed", + "path": "/w", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "Throttle", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "Gamepad", "id": "890eb4a4-7dfa-423d-b9dd-a5ba330c7482", "path": "2DVector", "interactions": "", @@ -102,7 +135,7 @@ "path": "/leftStick/left", "interactions": "", "processors": "", - "groups": "", + "groups": "Gamepad", "action": "Steering", "isComposite": false, "isPartOfComposite": true @@ -119,7 +152,40 @@ "isPartOfComposite": true }, { - "name": "1D Axis", + "name": "Keyboard", + "id": "2b119774-42e0-4af7-a6d0-f80ab7a1d792", + "path": "2DVector", + "interactions": "", + "processors": "", + "groups": "", + "action": "Steering", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "left", + "id": "c4725932-bf77-49b4-ae6a-f2a821af74f3", + "path": "/a", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "Steering", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "right", + "id": "7982cd98-2174-4ba5-9336-86444014708c", + "path": "/d", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "Steering", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "Gamepad", "id": "7f8ea85c-3a52-47e3-865f-5f276f15d11b", "path": "1DAxis(minValue=0)", "interactions": "", @@ -135,7 +201,7 @@ "path": "", "interactions": "", "processors": "", - "groups": "", + "groups": "Gamepad", "action": "Handbrake", "isComposite": false, "isPartOfComposite": true @@ -151,6 +217,39 @@ "isComposite": false, "isPartOfComposite": true }, + { + "name": "Keyboard", + "id": "d3e19a7d-ec2e-4908-bcfc-10ed6149e97a", + "path": "1DAxis", + "interactions": "", + "processors": "", + "groups": "", + "action": "Handbrake", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "negative", + "id": "c59d61e7-3a15-439d-87fa-8a59b5fe6437", + "path": "", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "Handbrake", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "positive", + "id": "422064e0-3113-4666-b205-973375de75e0", + "path": "/space", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "Handbrake", + "isComposite": false, + "isPartOfComposite": true + }, { "name": "Gamepad", "id": "14b1e5bd-e2a3-43d4-ace6-679f8a78c59c", @@ -168,7 +267,7 @@ "path": "", "interactions": "", "processors": "", - "groups": "", + "groups": "Gamepad", "action": "NOS", "isComposite": false, "isPartOfComposite": true @@ -184,6 +283,39 @@ "isComposite": false, "isPartOfComposite": true }, + { + "name": "Keyboard", + "id": "57f4b081-cb98-4eb6-86ce-546b71291040", + "path": "1DAxis", + "interactions": "", + "processors": "", + "groups": "", + "action": "NOS", + "isComposite": true, + "isPartOfComposite": false + }, + { + "name": "negative", + "id": "b78718e4-3099-4c95-bccc-023c98eae17d", + "path": "", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "NOS", + "isComposite": false, + "isPartOfComposite": true + }, + { + "name": "positive", + "id": "ccc60a83-d82a-46f0-8cff-8010f269dbe4", + "path": "/leftShift", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "NOS", + "isComposite": false, + "isPartOfComposite": true + }, { "name": "", "id": "4d4b1ec5-f611-47d6-a6d3-f6d3ac447c79", @@ -194,6 +326,17 @@ "action": "Menu", "isComposite": false, "isPartOfComposite": false + }, + { + "name": "", + "id": "efa8503e-718f-4af5-88c0-6f866190c68e", + "path": "/escape", + "interactions": "", + "processors": "", + "groups": "Keyboard", + "action": "Menu", + "isComposite": false, + "isPartOfComposite": false } ] } @@ -209,6 +352,17 @@ "isOR": false } ] + }, + { + "name": "Keyboard", + "bindingGroup": "Keyboard", + "devices": [ + { + "devicePath": "", + "isOptional": false, + "isOR": false + } + ] } ] } \ No newline at end of file diff --git a/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions.meta b/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions.meta index 1974d0aa..f4ae652c 100644 --- a/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions.meta +++ b/Assets/RealisticCarControllerV3/Resources/test_rcc.inputactions.meta @@ -8,7 +8,7 @@ ScriptedImporter: assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 8404be70184654265930450def6a9037, type: 3} - generateWrapperCode: 0 + generateWrapperCode: 1 wrapperCodePath: wrapperClassName: wrapperCodeNamespace: diff --git a/Assets/SelectCarGameScript.cs b/Assets/SelectCarGameScript.cs new file mode 100644 index 00000000..8cbe05c6 --- /dev/null +++ b/Assets/SelectCarGameScript.cs @@ -0,0 +1,67 @@ +using Cinemachine; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.InputSystem; + +public class SelectCarGameScript : MonoBehaviour +{ + [SerializeField] private int _Player; + + [SerializeField] private List _Cars; + private GameObject _CurrentCar; + + [SerializeField] private CinemachineVirtualCamera _CinemachineVC; + + [SerializeField] private FollowTarget _FollowTarget; + [SerializeField] private FollowYRotation _FollowYRotation; + + [SerializeField] private Starter _Starter; + + [SerializeField] private Finish _Finish; + + [SerializeField] private DriftScore _DriftScore; + + [SerializeField] private RCC_DashboardInputs _RCC_DashboardInputs; + [SerializeField] private RCC_UIDashboardDisplay _RCC_UIDashboardDisplay; + + + private void Awake() + { + _Player -= 1; + + foreach(GameObject car in _Cars) + { + if (car.name == StaticDataMap.CarPlayers[_Player]) + { + _CurrentCar = car; + break; + } + } + + _DriftScore.playerRB = _CurrentCar.GetComponent(); + //Debug.Log("Дрифт указан"); + + _CurrentCar.SetActive(true); + + _CinemachineVC.Follow = _CurrentCar.transform; + _CinemachineVC.LookAt = _CurrentCar.transform; + //Debug.Log("Машина отслеживается"); + + _FollowTarget.target = _CurrentCar.transform; + _FollowYRotation.target = _CurrentCar.transform; + //Debug.Log("Цель карты указана"); + + _Starter.DontMovePlayer[_Player] = _CurrentCar.GetComponent(); + //Debug.Log("Игрок не двигается"); + + _Finish.playerInput[_Player] = _CurrentCar.GetComponent(); + + + + _RCC_DashboardInputs.vehicle = _CurrentCar.GetComponent(); + _RCC_UIDashboardDisplay.vehicle = _CurrentCar.GetComponent(); + //Debug.Log("Контроллеры управления указаны"); + + } +} diff --git a/Assets/SelectCarGameScript.cs.meta b/Assets/SelectCarGameScript.cs.meta new file mode 100644 index 00000000..7eeb4e90 --- /dev/null +++ b/Assets/SelectCarGameScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 27010bba752a80d4b834008d8ad96de8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/TestScript.cs b/Assets/TestScript.cs new file mode 100644 index 00000000..fc19af06 --- /dev/null +++ b/Assets/TestScript.cs @@ -0,0 +1,32 @@ +using UnityEngine; + +public class TestScript : MonoBehaviour +{ + void Awake() + { + if (StaticDataMap.SelectedMap == null) + { + //Debug.Log("карта не указана"); + } + if (StaticDataMap.Time == null) + { + //Debug.Log("Время не указано"); + } + if (StaticDataMap.NumPlayer == null) + { + //Debug.Log("Игроки не указаны"); + StaticDataMap.NumPlayer = 2; + //Debug.Log(StaticDataMap.NumPlayer); + } + if (StaticDataMap.CarPlayers[0] == null) + { + StaticDataMap.CarPlayers[0] = "Chellendger_1969_2"; + //Debug.Log("Машина отслеживается"); + } + if (StaticDataMap.CarPlayers[1] == null) + { + StaticDataMap.CarPlayers[1] = "Chellendger_1969_2"; + //Debug.Log("Второй игрок не указан"); + } + } +} diff --git a/Assets/TestScript.cs.meta b/Assets/TestScript.cs.meta new file mode 100644 index 00000000..52a17866 --- /dev/null +++ b/Assets/TestScript.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bf9493dadb5d98f40900562c9fc29991 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/Packages/com.unity.probuilder/Settings.json b/ProjectSettings/Packages/com.unity.probuilder/Settings.json index ab486ead..2ad19c81 100644 --- a/ProjectSettings/Packages/com.unity.probuilder/Settings.json +++ b/ProjectSettings/Packages/com.unity.probuilder/Settings.json @@ -116,6 +116,11 @@ "key": "editor.showEditorNotifications", "value": "{\"m_Value\":false}" }, + { + "type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "key": "editor.stripProBuilderScriptsOnBuild", + "value": "{\"m_Value\":true}" + }, { "type": "UnityEngine.ProBuilder.SelectMode, Unity.ProBuilder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "key": "editor.selectMode", diff --git a/ProjectSettings/Packages/com.unity.progrids/Settings.json b/ProjectSettings/Packages/com.unity.progrids/Settings.json new file mode 100644 index 00000000..3c7b4c18 --- /dev/null +++ b/ProjectSettings/Packages/com.unity.progrids/Settings.json @@ -0,0 +1,5 @@ +{ + "m_Dictionary": { + "m_DictionaryValues": [] + } +} \ No newline at end of file