7 Commits

12 changed files with 7259 additions and 2313 deletions

BIN
Assets/Crossy Road VR/Images/quest2_1.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: e4b57e1d2428e644898af8c5ded7a5d8
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
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: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
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: 0
spriteTessellationDetail: -1
textureType: 0
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -835,6 +835,10 @@ MonoBehaviour:
_Duration: 2
_LeftController: {fileID: 1877538280431894419}
_RightController: {fileID: 5296553034864190854}
Dead:
m_PersistentCalls:
m_Calls: []
_ScoreManager: {fileID: 0}
--- !u!114 &674649897995790958
MonoBehaviour:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

View File

@ -319,6 +319,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3248555397218002163, guid: ad34e5f884ceba0459e127656e282c6e, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: OnContinues
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []

View File

@ -1,30 +1,51 @@
using UnityEngine;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
public class FirstMenuScript : MonoBehaviour
{
[SerializeField] private GameObject _UIMenu;
[SerializeField] private ActionBasedContinuousMoveProvider _Move;
[SerializeField] private CharacterController _CharacterController;
// список всех элементов UI для пролистывания
[SerializeField] private GameObject[] _UIPanel;
// индекс текущего элемента UI
private int _currentIndex = 0;
public void Init(ActionBasedContinuousMoveProvider move, CharacterController cc)
{
_UIMenu = gameObject;
_Move = move;
_CharacterController = cc;
}
// Start is called before the first frame update
public void UserAgree()
// действие на кнопку закончить
public void OnEnd()
{
_Move.enabled = true;
_CharacterController.enabled = true;
_UIMenu.SetActive(false);
gameObject.SetActive(false);
}
public void UserDisagree()
// действие на кнопку продолжить
public void OnContinues()
{
Application.Quit();
if (_currentIndex == _UIPanel.Length-1)
{
OnEnd();
return;
}
_UIPanel[_currentIndex++].SetActive(false);
_UIPanel[_currentIndex].SetActive(true);
}
// public void UserDisagree()
// {
// Application.Quit();
// }
}

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@ MonoBehaviour:
m_SupportsTerrainHoles: 1
m_SupportsHDR: 1
m_HDRColorBufferPrecision: 0
m_MSAA: 2
m_MSAA: 8
m_RenderScale: 1
m_UpscalingFilter: 0
m_FsrOverrideSharpness: 0

View File

@ -29,7 +29,8 @@ MonoBehaviour:
m_RequiresSettingsUpdate: 0
m_AutomaticLoading: 0
m_AutomaticRunning: 0
m_Loaders: []
m_Loaders:
- {fileID: 11400000, guid: 22e9fa841ffdeb74a9be5f159ac57ab1, type: 2}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -36,7 +36,7 @@ GraphicsSettings:
m_PreloadedShaders: []
m_PreloadShadersBatchTimeLimit: -1
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_CustomRenderPipeline: {fileID: 11400000, guid: 87d88add63faee0449b1693dddb4f467, type: 2}
m_CustomRenderPipeline: {fileID: 11400000, guid: 57201e7d7dfda4148bbd1249c9778e96, type: 2}
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
m_DefaultRenderingPath: 1

View File

@ -12,8 +12,8 @@ PlayerSettings:
targetDevice: 2
useOnDemandResources: 0
accelerometerFrequency: 60
companyName: DefaultCompany
productName: Crossy_Road
companyName: "SKB \xABKIT\xBB"
productName: Runner VR
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
@ -140,7 +140,7 @@ PlayerSettings:
loadStoreDebugModeEnabled: 0
visionOSBundleVersion: 1.0
tvOSBundleVersion: 1.0
bundleVersion: 0.1
bundleVersion: 1
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
@ -163,7 +163,7 @@ PlayerSettings:
androidMaxAspectRatio: 2.1
applicationIdentifier:
Android: com.DefaultCompany.Crossy_Road
Standalone: com.DefaultCompany.Crossy-Road
Standalone: com.SKB---KIT--.Runner-VR
buildNumber:
Standalone: 0
VisionOS: 0
@ -261,7 +261,7 @@ PlayerSettings:
useCustomGradlePropertiesTemplate: 0
useCustomGradleSettingsTemplate: 0
useCustomProguardFile: 0
AndroidTargetArchitectures: 1
AndroidTargetArchitectures: 2
AndroidTargetDevices: 0
AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
@ -746,7 +746,8 @@ PlayerSettings:
Windows Store Apps: USE_INPUT_SYSTEM_POSE_CONTROL;USE_STICK_CONTROL_THUMBSTICKS
additionalCompilerArguments: {}
platformArchitecture: {}
scriptingBackend: {}
scriptingBackend:
Android: 1
il2cppCompilerConfiguration: {}
il2cppCodeGeneration: {}
managedStrippingLevel:

View File

@ -22,7 +22,7 @@ QualitySettings:
globalTextureMipmapLimit: 1
textureMipmapLimitSettings: []
anisotropicTextures: 0
antiAliasing: 4
antiAliasing: 8
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
@ -44,7 +44,7 @@ QualitySettings:
asyncUploadBufferSize: 16
asyncUploadPersistentBuffer: 1
resolutionScalingFixedDPIFactor: 1
customRenderPipeline: {fileID: 11400000, guid: 87d88add63faee0449b1693dddb4f467, type: 2}
customRenderPipeline: {fileID: 11400000, guid: 57201e7d7dfda4148bbd1249c9778e96, type: 2}
terrainQualityOverrides: 0
terrainPixelError: 1
terrainDetailDensityScale: 1