Compare commits
No commits in common. "devVlad2" and "main" have entirely different histories.
@ -1,40 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using UnityEngine.EventSystems;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
public class EnableMenuSript : MonoBehaviour
|
|
||||||
{
|
|
||||||
[SerializeField] private GameObject _Menu;
|
|
||||||
[SerializeField] private Button[] _Button = new Button[2];
|
|
||||||
|
|
||||||
public void EnableMenu()
|
|
||||||
{
|
|
||||||
if (_Menu.activeSelf)
|
|
||||||
{
|
|
||||||
_Menu.SetActive(false);
|
|
||||||
Time.timeScale = 1f;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
GameObject selectedObject = EventSystem.current.currentSelectedGameObject;
|
|
||||||
|
|
||||||
// Ïðîâåðÿåì, åñëè âûáðàííûé îáúåêò ñóùåñòâóåò
|
|
||||||
if (selectedObject != null)
|
|
||||||
{
|
|
||||||
// Åñëè ýòî êíîïêà, ìîæåì ïîëó÷èòü êîìïîíåíò Button
|
|
||||||
Button selectedButton = selectedObject.GetComponent<Button>();
|
|
||||||
|
|
||||||
if (selectedButton != null)
|
|
||||||
{
|
|
||||||
selectedButton.GetComponent<Image>().color = Color.white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
_Menu.SetActive(true);
|
|
||||||
_Button[0].Select();
|
|
||||||
Time.timeScale = 0f;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: bf8d5c78394201c448987bead5bf92a9
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -7,12 +7,9 @@ public class MinimapStatrScript : MonoBehaviour
|
|||||||
|
|
||||||
[SerializeField] private SelectCarGameScript _SelectCarGameScript;
|
[SerializeField] private SelectCarGameScript _SelectCarGameScript;
|
||||||
|
|
||||||
public void Starter()
|
private void Start()
|
||||||
{
|
|
||||||
if (_SelectCarGameScript._CurrentCar != null)
|
|
||||||
{
|
{
|
||||||
_followTarget.target = _SelectCarGameScript._CurrentCar.transform;
|
_followTarget.target = _SelectCarGameScript._CurrentCar.transform;
|
||||||
_followYRotation.target = _SelectCarGameScript._CurrentCar.transform;
|
_followYRotation.target = _SelectCarGameScript._CurrentCar.transform;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5bbf78e75ad8c734ba0cfe932a298128
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,11 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
public class PauseScript : MonoBehaviour
|
|
||||||
{
|
|
||||||
[SerializeField] private GameObject _Menu;
|
|
||||||
|
|
||||||
public void ContinueGame()
|
|
||||||
{
|
|
||||||
Time.timeScale = 1f;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d660e4497f0a13a40b55ba050da9a6cb
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -10,6 +10,6 @@ public class FollowTarget : MonoBehaviour
|
|||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if(target != null) transform.position = target.transform.position + offset;
|
transform.position = target.transform.position + offset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@ public class FollowYRotation : MonoBehaviour
|
|||||||
|
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if (target != null) transform.eulerAngles = new Vector3(0 ,target.eulerAngles.y, 0);
|
transform.eulerAngles = new Vector3(0 ,target.eulerAngles.y, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ public class Starter : MonoBehaviour
|
|||||||
|
|
||||||
[SerializeField] private Image _borders;
|
[SerializeField] private Image _borders;
|
||||||
|
|
||||||
[SerializeField] private MinimapStatrScript[] _MinimapStatrScript;
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
@ -53,29 +53,16 @@ public class Starter : MonoBehaviour
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
if (StaticDataMap.NumPlayer == 1 && DontMovePlayer[0] != null)
|
if (StaticDataMap.NumPlayer == 1)
|
||||||
{
|
{
|
||||||
DontMovePlayer[0].DeactivateInput();
|
DontMovePlayer[0].DeactivateInput();
|
||||||
}
|
}
|
||||||
else if (StaticDataMap.NumPlayer == 2 && DontMovePlayer[0] != null && DontMovePlayer[1] != null)
|
else if (StaticDataMap.NumPlayer == 2)
|
||||||
{
|
{
|
||||||
DontMovePlayer[0].DeactivateInput();
|
DontMovePlayer[0].DeactivateInput();
|
||||||
DontMovePlayer[1].DeactivateInput();
|
DontMovePlayer[1].DeactivateInput();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_MinimapStatrScript != null)
|
|
||||||
{
|
|
||||||
if (_MinimapStatrScript.Length == 1)
|
|
||||||
{
|
|
||||||
_MinimapStatrScript[0].Starter();
|
|
||||||
}
|
|
||||||
else if (_MinimapStatrScript.Length == 2)
|
|
||||||
{
|
|
||||||
_MinimapStatrScript[0].Starter();
|
|
||||||
_MinimapStatrScript[1].Starter();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
_borders.enabled = true;
|
_borders.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,19 +30,16 @@ public class DriftScore : MonoBehaviour
|
|||||||
|
|
||||||
private IEnumerator stopDriftingCoroutine = null;
|
private IEnumerator stopDriftingCoroutine = null;
|
||||||
|
|
||||||
public void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
driftingObject.SetActive(false);
|
driftingObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
|
||||||
if (playerRB != null)
|
|
||||||
{
|
{
|
||||||
ManagerDrift();
|
ManagerDrift();
|
||||||
ManageUI();
|
ManageUI();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
void ManagerDrift()
|
void ManagerDrift()
|
||||||
{
|
{
|
||||||
speed = playerRB.velocity.magnitude;
|
speed = playerRB.velocity.magnitude;
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: eb2ac3cb50a78dc4cbf5389d3450dc06
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 4890085278179872738
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3b91275bc8a586c49856478989bcd010
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c3d201b988b40ec4499b3a7e38ff7ef5
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: faa3d8ef175e93449b205c82f2b3b640
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,4 +1,3 @@
|
|||||||
using System.Collections;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.SceneManagement;
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
@ -7,34 +6,5 @@ public class StartGameScript : MonoBehaviour
|
|||||||
public void StartGame()
|
public void StartGame()
|
||||||
{
|
{
|
||||||
SceneManager.LoadSceneAsync(StaticDataMap.SelectedMap);
|
SceneManager.LoadSceneAsync(StaticDataMap.SelectedMap);
|
||||||
|
|
||||||
//StartCoroutine(LoadSceneAsync(StaticDataMap.SelectedMap, SceneManager.GetActiveScene().name));
|
|
||||||
|
|
||||||
Debug.Log("Çàãðóçêà");
|
|
||||||
}
|
|
||||||
private IEnumerator LoadSceneAsync(string newScene, string oldScene)
|
|
||||||
{
|
|
||||||
// Çàãðóæàåì íîâóþ ñöåíó àñèíõðîííî
|
|
||||||
AsyncOperation asyncLoad = SceneManager.LoadSceneAsync(newScene, LoadSceneMode.Additive);
|
|
||||||
|
|
||||||
// Îæèäàåì, ïîêà íîâàÿ ñöåíà ïîëíîñòüþ çàãðóçèòñÿ
|
|
||||||
while (!asyncLoad.isDone)
|
|
||||||
{
|
|
||||||
yield return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Äåëàåì çàãðóæåííóþ ñöåíó àêòèâíîé
|
|
||||||
SceneManager.SetActiveScene(SceneManager.GetSceneByName(newScene));
|
|
||||||
|
|
||||||
// Âûãðóæàåì ñòàðóþ ñöåíó
|
|
||||||
AsyncOperation asyncUnload = SceneManager.UnloadSceneAsync(oldScene);
|
|
||||||
|
|
||||||
// Îæèäàåì, ïîêà ñòàðàÿ ñöåíà ïîëíîñòüþ âûãðóçèòñÿ
|
|
||||||
while (!asyncUnload.isDone)
|
|
||||||
{
|
|
||||||
yield return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
Debug.Log("Ñöåíà " + oldScene + " âûãðóæåíà, à ñöåíà " + newScene + " çàãðóæåíà è àêòèâíà.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
using UnityEngine.InputSystem;
|
using UnityEngine.InputSystem;
|
||||||
@ -38,40 +39,30 @@ public class TimerOnInactiveScript : MonoBehaviour
|
|||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
if (Gamepad.current != null)
|
|
||||||
{
|
|
||||||
foreach (var control in Gamepad.current.allControls)
|
foreach (var control in Gamepad.current.allControls)
|
||||||
{
|
{
|
||||||
if (control is ButtonControl button && button.wasPressedThisFrame)
|
if (control is ButtonControl button && button.wasPressedThisFrame)
|
||||||
{
|
{
|
||||||
ResetTimer();
|
ResetTimer();
|
||||||
MoveCameraFromRound();
|
MoveCameraFromRound();
|
||||||
//Debug.Log("gamepad");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (control is AxisControl axis)
|
if (control is AxisControl axis)
|
||||||
{
|
{
|
||||||
float value = axis.ReadValue();
|
float value = axis.ReadValue();
|
||||||
|
if (Mathf.Abs(value) > 0.1f) // Èãíîðèðóåì ìàëûå èçìåíåíèÿ
|
||||||
if (value != 0)
|
|
||||||
{
|
{
|
||||||
ResetTimer();
|
ResetTimer();
|
||||||
MoveCameraFromRound();
|
MoveCameraFromRound();
|
||||||
}
|
}
|
||||||
//Debug.Log($"gamepad {value}");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (Keyboard.current != null)
|
|
||||||
{
|
|
||||||
if (Keyboard.current.wasUpdatedThisFrame)
|
if (Keyboard.current.wasUpdatedThisFrame)
|
||||||
{
|
{
|
||||||
ResetTimer();
|
ResetTimer();
|
||||||
MoveCameraFromRound();
|
MoveCameraFromRound();
|
||||||
//Debug.Log("keyboard");
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------
|
||||||
}
|
}
|
||||||
|
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Autumn_4_day.jpg
(Stored with Git LFS)
Normal file
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Autumn_4_day.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 76121d6101a7734428f97191e9111587
|
guid: b8784d53211d73441a62718afcd47292
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Autumn_4_day.png
(Stored with Git LFS)
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Autumn_4_day.png
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Race Track.jpg
(Stored with Git LFS)
Normal file
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Race Track.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 5635b443723602e48835e9b146e0e6a5
|
guid: 71c80e56cb5f5c543984724d30ce0ab7
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Race Track.png
(Stored with Git LFS)
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Race Track.png
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track-KIT.png
(Stored with Git LFS)
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track-KIT.png
(Stored with Git LFS)
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: daeb3856b42861a479ad36a0bfda4307
|
guid: 630c57391934eec43bfc0aed8b0b833d
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
|
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track216KIT.jpg
(Stored with Git LFS)
Normal file
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track216KIT.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: f04a06b13dcfa394eb618f71d40c9e23
|
guid: 4222fba4657461946930ff0a6e81462b
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track216KIT.png
(Stored with Git LFS)
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track216KIT.png
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_C_HQ.jpg
(Stored with Git LFS)
Normal file
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_C_HQ.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: f6e032c43d3773a4e831c9acb404b65e
|
guid: 6b6cc8027021c34418e256bca80f0413
|
||||||
TextureImporter:
|
TextureImporter:
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable: []
|
||||||
externalObjects: {}
|
externalObjects: {}
|
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_C_HQ.png
(Stored with Git LFS)
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_C_HQ.png
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_D_Final.jpg
(Stored with Git LFS)
Normal file
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_D_Final.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
140
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_D_Final.jpg.meta
Normal file
140
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_D_Final.jpg.meta
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cb6006070fc4dd64a83aa00cb1fa2905
|
||||||
|
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:
|
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_D_Final.png
(Stored with Git LFS)
BIN
Assets/Racing_Game/UI/MainUI/Sprites/Maps/Track_D_Final.png
(Stored with Git LFS)
Binary file not shown.
@ -1,140 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: cfd45cbe5d362ec498b8848b319512aa
|
|
||||||
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:
|
|
@ -5,7 +5,6 @@ public class BackToMenuScript : MonoBehaviour
|
|||||||
{
|
{
|
||||||
public void BackToMenu()
|
public void BackToMenu()
|
||||||
{
|
{
|
||||||
Time.timeScale = 1.0f;
|
|
||||||
SceneManager.LoadSceneAsync(0);
|
SceneManager.LoadSceneAsync(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@ public class RestartScript : MonoBehaviour
|
|||||||
{
|
{
|
||||||
public void Restart()
|
public void Restart()
|
||||||
{
|
{
|
||||||
Time.timeScale = 1.0f;
|
|
||||||
SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name);
|
SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,12 +23,6 @@ public class SelectCarGameScript : MonoBehaviour
|
|||||||
[SerializeField] private RCC_UIDashboardDisplay _RCC_UIDashboardDisplay;
|
[SerializeField] private RCC_UIDashboardDisplay _RCC_UIDashboardDisplay;
|
||||||
|
|
||||||
|
|
||||||
//[SerializeField] private FollowTarget _FollowTarget;
|
|
||||||
|
|
||||||
//[SerializeField] private FollowYRotation _FollowYRotation;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
_Player -= 1;
|
_Player -= 1;
|
||||||
@ -45,7 +39,6 @@ public class SelectCarGameScript : MonoBehaviour
|
|||||||
_CinemachineVC.Follow = _CurrentCar.transform;
|
_CinemachineVC.Follow = _CurrentCar.transform;
|
||||||
_CinemachineVC.LookAt = _CurrentCar.transform;
|
_CinemachineVC.LookAt = _CurrentCar.transform;
|
||||||
|
|
||||||
|
|
||||||
_DriftScore.playerRB = _CurrentCar.GetComponent<Rigidbody>();
|
_DriftScore.playerRB = _CurrentCar.GetComponent<Rigidbody>();
|
||||||
//Debug.Log("Äđčôň óęŕçŕí");
|
//Debug.Log("Äđčôň óęŕçŕí");
|
||||||
|
|
||||||
@ -60,11 +53,6 @@ public class SelectCarGameScript : MonoBehaviour
|
|||||||
_RCC_UIDashboardDisplay.vehicle = _CurrentCar.GetComponent<RCC_CarControllerV3>();
|
_RCC_UIDashboardDisplay.vehicle = _CurrentCar.GetComponent<RCC_CarControllerV3>();
|
||||||
//Debug.Log("Ęîíňđîëëĺđű óďđŕâëĺíč˙ óęŕçŕíű");
|
//Debug.Log("Ęîíňđîëëĺđű óďđŕâëĺíč˙ óęŕçŕíű");
|
||||||
|
|
||||||
//if (_FollowTarget != null)
|
|
||||||
//{
|
|
||||||
// _FollowTarget.target = _CurrentCar.transform;
|
|
||||||
// _FollowYRotation.target = _CurrentCar.transform;
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//private void Start()
|
//private void Start()
|
||||||
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 44508bd89676da947bbfa7a1772f2c0f
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5dec757889e9a654bb14d0b9e7afd012
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b39044379b148fa48a957ab33ba2b7e6
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ea82577312fde1a40b23fab8a38ab8c7
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: fc703982b6930a6459be9ef1626c2257
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5f488eacbf9db4d4bad8e6b5cba43094
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a0f8d3b6043b8354b82c039d1f3ede8b
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: aec4bd6973e74ab4580209df3ad6c257
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 15600000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 27bb84d7864f5e541acec105b49f9a9b
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: acad94f572b1e134cb443958aced8c04
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 772e2ee43c2cb8545b07d00c7415904e
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0f63729f8e711b544be223b432f44b25
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 03804b87a22a9da4eb344698588cf351
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 718b957de0cec3c4c81b9f939f76441e
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 622fea6ff820fdf419fe46f09ff4ccc7
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8f30bd0eb015a014484dd1aac3f18038
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 15efdf721f0468843a3b6f4ff7fb32a9
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 8574412962073106934
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user