Signed-off-by: XgC2961 <2961904938@qq.com>

This commit is contained in:
XgC2961 2025-08-19 16:13:06 +08:00
parent 1e029f479a
commit bd0b186de3
218 changed files with 4698 additions and 10493 deletions

Binary file not shown.

View File

@ -1,25 +1,32 @@
{
"Version": 1,
"WorkspaceRootPath": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\",
"WorkspaceRootPath": "D:\\Unity\\Projects\\new\\SpecialEquipment\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|e:\\program\\specialequipment1\\specialequipment\\assets\\scrip\\selectin.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\selectin.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|d:\\unity\\projects\\new\\specialequipment\\assets\\scrip\\rotateandscale.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\rotateandscale.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|E:\\program\\SpecialEquipment1\\SpecialEquipment\\assets\\scrip\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|d:\\unity\\projects\\new\\specialequipment\\assets\\scrip\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|E:\\program\\SpecialEquipment1\\SpecialEquipment\\assets\\scrip\\pageturning.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\selectin.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\selectin.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\uifunctionnextlevel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\uifunctionnextlevel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\pageturning.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\pageturning.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|e:\\program\\specialequipment1\\specialequipment\\assets\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:assets\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\UIFunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|E:\\program\\SpecialEquipment1\\SpecialEquipment\\assets\\scrip\\rotate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\rotate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\rotate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
@ -30,44 +37,77 @@
"DocumentGroups": [
{
"DockedWidth": 274,
"SelectedChildIndex": 1,
"SelectedChildIndex": 3,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}"
"Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{5a4e9529-b6a0-46b5-be4f-0f0b239bc0eb}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "SelectIn.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\SelectIn.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeToolTip": "Assets\\scrip\\SelectIn.cs",
"ViewState": "AgIAAA8AAAAAAAAAAAAAACEAAAA1AAAAAAAAAA==",
"Title": "RotateAndScale.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\RotateAndScale.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\RotateAndScale.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\RotateAndScale.cs",
"RelativeToolTip": "Assets\\scrip\\RotateAndScale.cs",
"ViewState": "AgIAACEAAAAAAAAAAAAAABwAAAAkAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:21:45.004Z",
"WhenOpened": "2025-08-19T06:33:22.973Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "UIFunctionNextLevel.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunctionNextLevel.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\UIFunctionNextLevel.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunctionNextLevel.cs",
"RelativeToolTip": "Assets\\scrip\\UIFunctionNextLevel.cs",
"ViewState": "AgIAAA8AAAAAAAAAAAAAAAsAAAAbAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:30:51.515Z"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "SelectIn.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\SelectIn.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeToolTip": "Assets\\scrip\\SelectIn.cs",
"ViewState": "AgIAAAYAAAAAAAAAAAAAADQAAAAZAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:21:45.004Z"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "UIFunction.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\UIFunction.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"RelativeToolTip": "Assets\\scrip\\UIFunction.cs",
"ViewState": "AgIAAAYAAAAAAAAAAAAAABgAAAAWAAAAAAAAAA==",
"ViewState": "AgIAAJ0AAAAAAAAAAABCwLIAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:00:50.275Z"
"WhenOpened": "2025-08-18T09:00:50.275Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"DocumentIndex": 4,
"Title": "PageTurning.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\PageTurning.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"RelativeToolTip": "Assets\\scrip\\PageTurning.cs",
"ViewState": "AgIAABsAAAAAAAAAAAAAACIAAAD/AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
@ -75,23 +115,21 @@
},
{
"$type": "Document",
"DocumentIndex": 3,
"DocumentIndex": 5,
"Title": "UIFunction.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\UIFunction.cs",
"RelativeDocumentMoniker": "Assets\\UIFunction.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\UIFunction.cs",
"RelativeToolTip": "Assets\\UIFunction.cs",
"ViewState": "AgIAAI0AAAAAAAAAAAAAAKQAAAAmAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T00:46:32.412Z"
},
{
"$type": "Document",
"DocumentIndex": 4,
"DocumentIndex": 6,
"Title": "Rotate.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\Rotate.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"RelativeToolTip": "Assets\\scrip\\Rotate.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAdAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
@ -103,10 +141,6 @@
"DockedWidth": 453,
"SelectedChildIndex": -1,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{eefa5220-e298-11d0-8f78-00a0c9110057}"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{a80febb4-e7e0-4147-b476-21aaf2453969}"

View File

@ -1,29 +1,32 @@
{
"Version": 1,
"WorkspaceRootPath": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\",
"WorkspaceRootPath": "D:\\Unity\\Projects\\new\\SpecialEquipment\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|E:\\program\\SpecialEquipment1\\SpecialEquipment\\assets\\scrip\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|d:\\unity\\projects\\new\\specialequipment\\assets\\scrip\\rotateandscale.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\rotateandscale.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|e:\\program\\specialequipment1\\specialequipment\\assets\\scrip\\selectin.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\selectin.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\selectin.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|e:\\program\\specialequipment1\\specialequipment\\assets\\scrip\\uifunctionnextlevel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\uifunctionnextlevel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\uifunctionnextlevel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|E:\\program\\SpecialEquipment1\\SpecialEquipment\\assets\\scrip\\pageturning.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\pageturning.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\pageturning.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|e:\\program\\specialequipment1\\specialequipment\\assets\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:assets\\uifunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\UIFunction.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|E:\\program\\SpecialEquipment1\\SpecialEquipment\\assets\\scrip\\rotate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"AbsoluteMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|D:\\Unity\\Projects\\new\\SpecialEquipment\\assets\\scrip\\rotate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{145CD178-D4F7-B17C-8038-BA27BF626D94}|Assembly-CSharp.csproj|solutionrelative:assets\\scrip\\rotate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
@ -38,54 +41,72 @@
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}"
"Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "UIFunctionNextLevel.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\UIFunctionNextLevel.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\UIFunctionNextLevel.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\UIFunctionNextLevel.cs",
"RelativeToolTip": "Assets\\scrip\\UIFunctionNextLevel.cs",
"ViewState": "AgIAAA8AAAAAAAAAAAAAAAsAAAAbAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:30:51.515Z",
"EditorCaption": ""
"$type": "Bookmark",
"Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "SelectIn.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\SelectIn.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeToolTip": "Assets\\scrip\\SelectIn.cs",
"ViewState": "AgIAAAYAAAAAAAAAAAAAADQAAAAZAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:21:45.004Z",
"EditorCaption": ""
"$type": "Bookmark",
"Name": "ST:0:0:{5a4e9529-b6a0-46b5-be4f-0f0b239bc0eb}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "UIFunction.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\UIFunction.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"RelativeToolTip": "Assets\\scrip\\UIFunction.cs",
"ViewState": "AgIAAJ8AAAAAAAAAAAAAALIAAAAAAAAAAAAAAA==",
"Title": "RotateAndScale.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\RotateAndScale.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\RotateAndScale.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\RotateAndScale.cs",
"RelativeToolTip": "Assets\\scrip\\RotateAndScale.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAiAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:00:50.275Z",
"WhenOpened": "2025-08-19T06:33:22.973Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "UIFunctionNextLevel.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunctionNextLevel.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\UIFunctionNextLevel.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunctionNextLevel.cs",
"RelativeToolTip": "Assets\\scrip\\UIFunctionNextLevel.cs",
"ViewState": "AgIAAA8AAAAAAAAAAAAAAAsAAAAbAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:30:51.515Z"
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "SelectIn.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\SelectIn.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\SelectIn.cs",
"RelativeToolTip": "Assets\\scrip\\SelectIn.cs",
"ViewState": "AgIAAAYAAAAAAAAAAAAAADQAAAAZAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:21:45.004Z"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "UIFunction.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\UIFunction.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\UIFunction.cs",
"RelativeToolTip": "Assets\\scrip\\UIFunction.cs",
"ViewState": "AgIAAJ0AAAAAAAAAAABCwLIAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T09:00:50.275Z"
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "PageTurning.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\PageTurning.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\PageTurning.cs",
"RelativeToolTip": "Assets\\scrip\\PageTurning.cs",
"ViewState": "AgIAABsAAAAAAAAAAAAAACIAAAD/AAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
@ -93,23 +114,21 @@
},
{
"$type": "Document",
"DocumentIndex": 4,
"DocumentIndex": 5,
"Title": "UIFunction.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\UIFunction.cs",
"RelativeDocumentMoniker": "Assets\\UIFunction.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\UIFunction.cs",
"RelativeToolTip": "Assets\\UIFunction.cs",
"ViewState": "AgIAAI0AAAAAAAAAAAAAAKQAAAAmAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-08-18T00:46:32.412Z"
},
{
"$type": "Document",
"DocumentIndex": 5,
"DocumentIndex": 6,
"Title": "Rotate.cs",
"DocumentMoniker": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"DocumentMoniker": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"RelativeDocumentMoniker": "Assets\\scrip\\Rotate.cs",
"ToolTip": "E:\\program\\SpecialEquipment1\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"ToolTip": "D:\\Unity\\Projects\\new\\SpecialEquipment\\Assets\\scrip\\Rotate.cs",
"RelativeToolTip": "Assets\\scrip\\Rotate.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAdAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
@ -121,10 +140,6 @@
"DockedWidth": 453,
"SelectedChildIndex": -1,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{eefa5220-e298-11d0-8f78-00a0c9110057}"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{a80febb4-e7e0-4147-b476-21aaf2453969}"

View File

@ -1190,6 +1190,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &108055910
@ -1517,6 +1518,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.1
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &144056247
@ -3081,6 +3083,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.1
scaleSpeed: 0.5
minScale: 0.1
--- !u!1001 &299741243
@ -3167,6 +3170,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &318777702
@ -4203,6 +4207,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.1
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &489167470
@ -6870,6 +6875,14 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7656547263072788883, guid: c4836bfac581970408b1d07bc4ab8d18, type: 3}
propertyPath: dragSpeed
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 7656547263072788883, guid: c4836bfac581970408b1d07bc4ab8d18, type: 3}
propertyPath: moveSpeed
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 8178773990736756494, guid: c4836bfac581970408b1d07bc4ab8d18, type: 3}
propertyPath: playAniButton
value:
@ -8423,6 +8436,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.1
scaleSpeed: 2
minScale: 0.1
--- !u!1 &1039531674
@ -9476,6 +9490,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &1200377289
@ -10000,6 +10015,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &1252836744
@ -10210,6 +10226,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &1274855188
@ -11413,6 +11430,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.1
scaleSpeed: 2
minScale: 0.1
--- !u!1 &1425101301
@ -12033,6 +12051,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &1521806859
@ -12270,6 +12289,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.1
scaleSpeed: 0.2
minScale: 0.1
--- !u!1 &1575541074
@ -13666,6 +13686,14 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 2132132105}
m_Modifications:
- target: {fileID: 194204960762005686, guid: dde36a78785d73748b5c14043d42fcf1, type: 3}
propertyPath: dragSpeed
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 194204960762005686, guid: dde36a78785d73748b5c14043d42fcf1, type: 3}
propertyPath: moveSpeed
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 281956264852861790, guid: dde36a78785d73748b5c14043d42fcf1, type: 3}
propertyPath: m_RootOrder
value: 0
@ -14993,6 +15021,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &2014020827
@ -15532,6 +15561,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 0.2
dragSpeed: 0.01
scaleSpeed: 0.5
minScale: 0.1
--- !u!1 &2132132104

View File

@ -7,6 +7,11 @@ public class RotateAndScale : MonoBehaviour
private bool isRotating = false;
private float lastMouseX;
[Header("拖拽设置")]
public float dragSpeed = 0.1f;
private bool isDragging = false;
private float lastMouseY;
[Header("Ëõ·ÅÉèÖÃ")]
public float scaleSpeed = 0.5f; // Ëõ·ÅËÙ¶È
public float minScale = 0.1f; // ×îСËõ·Å
@ -14,12 +19,12 @@ public class RotateAndScale : MonoBehaviour
private void Update()
{
HandleRotation();
HandleDragging();
HandleScaling();
}
private void HandleRotation()
{
// 按住左键开始旋转
if (Input.GetMouseButtonDown(0))
{
isRotating = true;
@ -34,22 +39,58 @@ public class RotateAndScale : MonoBehaviour
if (isRotating)
{
float deltaX = Input.mousePosition.x - lastMouseX;
transform.Rotate(0f, -deltaX * rotationSpeed, 0f, Space.World); // 反方向旋转
transform.Rotate(0f, -deltaX * rotationSpeed, 0f, Space.World);
lastMouseX = Input.mousePosition.x;
}
}
private void HandleDragging()
{
if (Input.GetMouseButtonDown(1))
{
isDragging = true;
lastMouseX = Input.mousePosition.x;
lastMouseY = Input.mousePosition.y;
}
if (Input.GetMouseButtonUp(1))
{
isDragging = false;
}
if (isDragging)
{
float deltaX = Input.mousePosition.x - lastMouseX;
float deltaY = Input.mousePosition.y - lastMouseY;
transform.Translate(new Vector3(deltaX, deltaY, 0f) * dragSpeed, Space.World);
lastMouseX = Input.mousePosition.x;
lastMouseY = Input.mousePosition.y;
}
}
private void HandleScaling()
{
float scroll = Input.mouseScrollDelta.y;
if (Mathf.Abs(scroll) > 0f)
{
Vector3 newScale = transform.localScale + Vector3.one * scroll * scaleSpeed;
// 只限制最小值
newScale.x = Mathf.Max(newScale.x, minScale);
newScale.y = Mathf.Max(newScale.y, minScale);
newScale.z = Mathf.Max(newScale.z, minScale);
transform.localScale = newScale;
}
}
/// <summary>
/// 在返回并重新选择物体时调用,重置输入状态
/// </summary>
public void ResetInputState()
{
isRotating = false;
isDragging = false;
lastMouseX = Input.mousePosition.x;
lastMouseY = Input.mousePosition.y;
}
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: aef1eada7b6e0234ea980dbad2022271
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 457 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More