diff --git a/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/CodeChunks.db b/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/CodeChunks.db index d4eb110..462702a 100644 Binary files a/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/CodeChunks.db and b/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/CodeChunks.db differ diff --git a/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/SemanticSymbols.db b/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/SemanticSymbols.db index bd5e4cf..0d0730f 100644 Binary files a/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/SemanticSymbols.db and b/.vs/OSS_3D-RunGame/CopilotIndices/17.14.1661.41761/SemanticSymbols.db differ diff --git a/.vs/OSS_3D-RunGame/FileContentIndex/b8d7d663-4368-49e8-a678-a72f0ecde91a.vsidx b/.vs/OSS_3D-RunGame/FileContentIndex/b8d7d663-4368-49e8-a678-a72f0ecde91a.vsidx deleted file mode 100644 index 35e1710..0000000 Binary files a/.vs/OSS_3D-RunGame/FileContentIndex/b8d7d663-4368-49e8-a678-a72f0ecde91a.vsidx and /dev/null differ diff --git a/.vs/OSS_3D-RunGame/FileContentIndex/d0902d1f-012b-4369-a71d-5309687217bd.vsidx b/.vs/OSS_3D-RunGame/FileContentIndex/d0902d1f-012b-4369-a71d-5309687217bd.vsidx deleted file mode 100644 index 55867f0..0000000 Binary files a/.vs/OSS_3D-RunGame/FileContentIndex/d0902d1f-012b-4369-a71d-5309687217bd.vsidx and /dev/null differ diff --git a/.vs/OSS_3D-RunGame/FileContentIndex/fd27a7bd-b8c8-49d6-b860-9909e314cc00.vsidx b/.vs/OSS_3D-RunGame/FileContentIndex/fd27a7bd-b8c8-49d6-b860-9909e314cc00.vsidx deleted file mode 100644 index 6a72708..0000000 Binary files a/.vs/OSS_3D-RunGame/FileContentIndex/fd27a7bd-b8c8-49d6-b860-9909e314cc00.vsidx and /dev/null differ diff --git a/.vs/OSS_3D-RunGame/v17/DocumentLayout.backup.json b/.vs/OSS_3D-RunGame/v17/DocumentLayout.backup.json index 342e8b4..f2cc8cb 100644 --- a/.vs/OSS_3D-RunGame/v17/DocumentLayout.backup.json +++ b/.vs/OSS_3D-RunGame/v17/DocumentLayout.backup.json @@ -3,7 +3,11 @@ "WorkspaceRootPath": "D:\\Programing\\OSS_3D-RunGame\\", "Documents": [ { - "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|d:\\programing\\oss_3d-rungame\\assets\\scripts\\gamemanager\\gamemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|d:\\programing\\oss_3d-rungame\\assets\\playercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\playercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|D:\\Programing\\OSS_3D-RunGame\\assets\\scripts\\gamemanager\\gamemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\gamemanager\\gamemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { @@ -11,7 +15,7 @@ "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\constants.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { - "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|d:\\programing\\oss_3d-rungame\\assets\\scripts\\ground\\ground.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|D:\\Programing\\OSS_3D-RunGame\\assets\\scripts\\ground\\ground.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\ground\\ground.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { @@ -35,19 +39,31 @@ { "$type": "Document", "DocumentIndex": 0, + "Title": "PlayerController.cs", + "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\PlayerController.cs", + "RelativeDocumentMoniker": "Assets\\PlayerController.cs", + "ToolTip": "D:\\Programing\\OSS_3D-RunGame\\Assets\\PlayerController.cs", + "RelativeToolTip": "Assets\\PlayerController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2026-05-22T17:07:25.275Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, "Title": "GameManager.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\GameManager\\GameManager.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\GameManager\\GameManager.cs", "ToolTip": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\GameManager\\GameManager.cs", "RelativeToolTip": "Assets\\Scripts\\GameManager\\GameManager.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAACkAAAABAAAAAAAAAA==", + "ViewState": "AgIAABAAAAAAAAAAAAAgwAoAAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T06:41:48.428Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T06:41:48.428Z" }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 2, "Title": "Constants.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Constants.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Constants.cs", @@ -55,25 +71,23 @@ "RelativeToolTip": "Assets\\Scripts\\Constants.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAABAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T06:09:27.187Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T06:09:27.187Z" }, { "$type": "Document", - "DocumentIndex": 3, + "DocumentIndex": 4, "Title": "Player.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Player\\Player.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Player\\Player.cs", "ToolTip": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Player\\Player.cs", "RelativeToolTip": "Assets\\Scripts\\Player\\Player.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAATAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T05:58:33.26Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T05:58:33.26Z" }, { "$type": "Document", - "DocumentIndex": 4, + "DocumentIndex": 5, "Title": "TrackingPlayerCamera.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Camera\\TrackingPlayerCamera.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Camera\\TrackingPlayerCamera.cs", @@ -81,12 +95,11 @@ "RelativeToolTip": "Assets\\Scripts\\Camera\\TrackingPlayerCamera.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T05:57:29.624Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T05:57:29.624Z" }, { "$type": "Document", - "DocumentIndex": 2, + "DocumentIndex": 3, "Title": "Ground.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Ground\\Ground.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Ground\\Ground.cs", @@ -94,8 +107,7 @@ "RelativeToolTip": "Assets\\Scripts\\Ground\\Ground.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAWAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T05:56:17.013Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T05:56:17.013Z" } ] } diff --git a/.vs/OSS_3D-RunGame/v17/DocumentLayout.json b/.vs/OSS_3D-RunGame/v17/DocumentLayout.json index 7d54b67..f4827c5 100644 --- a/.vs/OSS_3D-RunGame/v17/DocumentLayout.json +++ b/.vs/OSS_3D-RunGame/v17/DocumentLayout.json @@ -3,7 +3,11 @@ "WorkspaceRootPath": "D:\\Programing\\OSS_3D-RunGame\\", "Documents": [ { - "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|d:\\programing\\oss_3d-rungame\\assets\\scripts\\gamemanager\\gamemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|d:\\programing\\oss_3d-rungame\\assets\\playercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\playercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|D:\\Programing\\OSS_3D-RunGame\\assets\\scripts\\gamemanager\\gamemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\gamemanager\\gamemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { @@ -11,7 +15,7 @@ "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\constants.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { - "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|d:\\programing\\oss_3d-rungame\\assets\\scripts\\ground\\ground.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "AbsoluteMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|D:\\Programing\\OSS_3D-RunGame\\assets\\scripts\\ground\\ground.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", "RelativeMoniker": "D:0:0:{7FFE0943-5E4A-7035-6446-BE2DDF76A045}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\ground\\ground.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" }, { @@ -35,19 +39,31 @@ { "$type": "Document", "DocumentIndex": 0, + "Title": "PlayerController.cs", + "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\PlayerController.cs", + "RelativeDocumentMoniker": "Assets\\PlayerController.cs", + "ToolTip": "D:\\Programing\\OSS_3D-RunGame\\Assets\\PlayerController.cs", + "RelativeToolTip": "Assets\\PlayerController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2026-05-22T17:07:25.275Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, "Title": "GameManager.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\GameManager\\GameManager.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\GameManager\\GameManager.cs", "ToolTip": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\GameManager\\GameManager.cs", "RelativeToolTip": "Assets\\Scripts\\GameManager\\GameManager.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAA==", + "ViewState": "AgIAABAAAAAAAAAAAAAgwAoAAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T06:41:48.428Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T06:41:48.428Z" }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 2, "Title": "Constants.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Constants.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Constants.cs", @@ -55,25 +71,23 @@ "RelativeToolTip": "Assets\\Scripts\\Constants.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAABAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T06:09:27.187Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T06:09:27.187Z" }, { "$type": "Document", - "DocumentIndex": 3, + "DocumentIndex": 4, "Title": "Player.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Player\\Player.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Player\\Player.cs", "ToolTip": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Player\\Player.cs", "RelativeToolTip": "Assets\\Scripts\\Player\\Player.cs", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAATAAAAAAAAAA==", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T05:58:33.26Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T05:58:33.26Z" }, { "$type": "Document", - "DocumentIndex": 4, + "DocumentIndex": 5, "Title": "TrackingPlayerCamera.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Camera\\TrackingPlayerCamera.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Camera\\TrackingPlayerCamera.cs", @@ -81,12 +95,11 @@ "RelativeToolTip": "Assets\\Scripts\\Camera\\TrackingPlayerCamera.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T05:57:29.624Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T05:57:29.624Z" }, { "$type": "Document", - "DocumentIndex": 2, + "DocumentIndex": 3, "Title": "Ground.cs", "DocumentMoniker": "D:\\Programing\\OSS_3D-RunGame\\Assets\\Scripts\\Ground\\Ground.cs", "RelativeDocumentMoniker": "Assets\\Scripts\\Ground\\Ground.cs", @@ -94,8 +107,7 @@ "RelativeToolTip": "Assets\\Scripts\\Ground\\Ground.cs", "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAWAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2026-05-05T05:56:17.013Z", - "EditorCaption": "" + "WhenOpened": "2026-05-05T05:56:17.013Z" } ] } diff --git a/Assets/Coim.prefab b/Assets/Resources/Prefabs/Coin.prefab similarity index 99% rename from Assets/Coim.prefab rename to Assets/Resources/Prefabs/Coin.prefab index 5d2e96c..8e25919 100644 --- a/Assets/Coim.prefab +++ b/Assets/Resources/Prefabs/Coin.prefab @@ -14,7 +14,7 @@ GameObject: - component: {fileID: 3154741036939750065} - component: {fileID: 8035541353991543747} m_Layer: 0 - m_Name: Coim + m_Name: Coin m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 diff --git a/Assets/Coim.prefab.meta b/Assets/Resources/Prefabs/Coin.prefab.meta similarity index 100% rename from Assets/Coim.prefab.meta rename to Assets/Resources/Prefabs/Coin.prefab.meta diff --git a/Assets/Scenes/GameScene.unity b/Assets/Scenes/GameScene.unity index e9ecdc2..74ed385 100644 --- a/Assets/Scenes/GameScene.unity +++ b/Assets/Scenes/GameScene.unity @@ -227,6 +227,63 @@ PrefabInstance: addedObject: {fileID: 1638610075} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 65665334281f5d743b69dbcca684198e, type: 3} +--- !u!1001 &327054111 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 3504489993159313653, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_Name + value: Coin + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalPosition.x + value: 117.27773 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalPosition.y + value: -0.00001 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalPosition.z + value: 305.19583 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalRotation.w + value: 0.7029087 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalRotation.x + value: 0.0005559941 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalRotation.y + value: 0.0011981744 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalRotation.z + value: 0.7112789 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: -0.053 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0.142 + objectReference: {fileID: 0} + - target: {fileID: 7821295605211716680, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 90.678 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c4fa3ea502b278340ad65ea124de5cf3, type: 3} --- !u!1 &536484241 GameObject: m_ObjectHideFlags: 0 @@ -1256,3 +1313,4 @@ SceneRoots: - {fileID: 1605709866} - {fileID: 536484243} - {fileID: 208846987} + - {fileID: 327054111} diff --git a/Assets/Scripts/Item.meta b/Assets/Scripts/Item.meta new file mode 100644 index 0000000..6fdb3ed --- /dev/null +++ b/Assets/Scripts/Item.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3e701c921704e014399dd1c7317f24be +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Coinscript.cs b/Assets/Scripts/Item/Coin.cs similarity index 95% rename from Assets/Coinscript.cs rename to Assets/Scripts/Item/Coin.cs index 60ba6b7..a4a50ff 100644 --- a/Assets/Coinscript.cs +++ b/Assets/Scripts/Item/Coin.cs @@ -1,26 +1,26 @@ -using UnityEngine; -using UnityEngine.UIElements; - -public class Coinscript : MonoBehaviour -{ - // Start is called once before the first execution of Update after the MonoBehaviour is created - void Start() - { - - } - - // Update is called once per frame - void Update() - { - transform.Rotate(90 * Time.deltaTime, 0, 0); - } - - private void OnTriggerEnter(Collider other) - { - if (other.name == "Player") - { - other.GetComponent().points++; - Destroy(gameObject); - } - } -} +using UnityEngine; +using UnityEngine.UIElements; + +public class Coinscript : MonoBehaviour +{ + // Start is called once before the first execution of Update after the MonoBehaviour is created + void Start() + { + + } + + // Update is called once per frame + void Update() + { + transform.Rotate(90 * Time.deltaTime, 0, 0); + } + + private void OnTriggerEnter(Collider other) + { + if (other.name == "Player") + { + other.GetComponent().points++; + Destroy(gameObject); + } + } +} diff --git a/Assets/Coinscript.cs.meta b/Assets/Scripts/Item/Coin.cs.meta similarity index 100% rename from Assets/Coinscript.cs.meta rename to Assets/Scripts/Item/Coin.cs.meta diff --git a/Assets/Settings/Mobile_RPAsset.asset b/Assets/Settings/Mobile_RPAsset.asset index 7ceffe7..fedee07 100644 --- a/Assets/Settings/Mobile_RPAsset.asset +++ b/Assets/Settings/Mobile_RPAsset.asset @@ -12,8 +12,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3} m_Name: Mobile_RPAsset m_EditorClassIdentifier: - k_AssetVersion: 12 - k_AssetPreviousVersion: 12 + k_AssetVersion: 13 + k_AssetPreviousVersion: 13 m_RendererType: 1 m_RendererData: {fileID: 0} m_RendererDataList: @@ -53,6 +53,7 @@ MonoBehaviour: m_AdditionalLightsShadowResolutionTierHigh: 1024 m_ReflectionProbeBlending: 1 m_ReflectionProbeBoxProjection: 1 + m_ReflectionProbeAtlas: 1 m_ShadowDistance: 50 m_ShadowCascadeCount: 1 m_Cascade2Split: 0.25 @@ -78,11 +79,11 @@ MonoBehaviour: m_UseAdaptivePerformance: 1 m_ColorGradingMode: 0 m_ColorGradingLutSize: 32 + m_AllowPostProcessAlphaOutput: 0 m_UseFastSRGBLinearConversion: 1 m_SupportDataDrivenLensFlare: 1 m_SupportScreenSpaceLensFlare: 1 m_GPUResidentDrawerMode: 0 - m_UseLegacyLightmaps: 0 m_SmallMeshScreenPercentage: 0 m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0 m_ShadowType: 1 @@ -109,6 +110,7 @@ MonoBehaviour: m_PrefilterDebugKeywords: 1 m_PrefilterWriteRenderingLayers: 1 m_PrefilterHDROutput: 1 + m_PrefilterAlphaOutput: 0 m_PrefilterSSAODepthNormals: 1 m_PrefilterSSAOSourceDepthLow: 1 m_PrefilterSSAOSourceDepthMedium: 0 @@ -126,8 +128,14 @@ MonoBehaviour: m_PrefilterSoftShadowsQualityHigh: 1 m_PrefilterSoftShadows: 0 m_PrefilterScreenCoord: 1 + m_PrefilterScreenSpaceIrradiance: 0 m_PrefilterNativeRenderPass: 1 m_PrefilterUseLegacyLightmaps: 0 + m_PrefilterBicubicLightmapSampling: 0 + m_PrefilterReflectionProbeRotation: 0 + m_PrefilterReflectionProbeBlending: 0 + m_PrefilterReflectionProbeBoxProjection: 0 + m_PrefilterReflectionProbeAtlas: 0 m_ShaderVariantLogLevel: 0 m_ShadowCascades: 0 m_Textures: