V3.1.1 优化代码
优化可读性与规范化命名方式
This commit is contained in:
@@ -6,17 +6,17 @@ EditorUserSettings:
|
||||
serializedVersion: 4
|
||||
m_ConfigSettings:
|
||||
RecentlyUsedSceneGuid-0:
|
||||
value: 5703025650035e5d090f087148715d4443161e2c7e2c20357b281b31b0e43060
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-1:
|
||||
value: 55090405535008090b5608764626074415151c79747c74602b7c1861e4b96c6c
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-2:
|
||||
RecentlyUsedSceneGuid-1:
|
||||
value: 06570c0704040b0e5a575520137b5e44154f192e292d22367c2c4866b7b3376f
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-3:
|
||||
RecentlyUsedSceneGuid-2:
|
||||
value: 5453565f53020f085f5d0e72157a0844454f4c2b757d7265757a4f64b7b4313c
|
||||
flags: 0
|
||||
RecentlyUsedSceneGuid-3:
|
||||
value: 5703025650035e5d090f087148715d4443161e2c7e2c20357b281b31b0e43060
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-0:
|
||||
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
|
||||
flags: 0
|
||||
|
||||
@@ -14,12 +14,12 @@ MonoBehaviour:
|
||||
m_EditorClassIdentifier:
|
||||
m_PixelRect:
|
||||
serializedVersion: 2
|
||||
x: 346
|
||||
y: 218
|
||||
width: 1016
|
||||
x: -212
|
||||
y: 259
|
||||
width: 1794
|
||||
height: 1037
|
||||
m_ShowMode: 4
|
||||
m_Title: Inspector
|
||||
m_Title: Console
|
||||
m_RootView: {fileID: 9}
|
||||
m_MinSize: {x: 875, y: 300}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
@@ -41,7 +41,7 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 716
|
||||
width: 594
|
||||
width: 1038
|
||||
height: 271
|
||||
m_MinSize: {x: 231, y: 271}
|
||||
m_MaxSize: {x: 10001, y: 10021}
|
||||
@@ -70,12 +70,12 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 594
|
||||
width: 1038
|
||||
height: 987
|
||||
m_MinSize: {x: 100, y: 200}
|
||||
m_MaxSize: {x: 8096, y: 16192}
|
||||
vertical: 1
|
||||
controlID: 42
|
||||
controlID: 134
|
||||
--- !u!114 &4
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -92,9 +92,9 @@ MonoBehaviour:
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 716
|
||||
width: 182
|
||||
height: 271
|
||||
y: 295
|
||||
width: 321
|
||||
height: 692
|
||||
m_MinSize: {x: 102, y: 121}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 19}
|
||||
@@ -119,14 +119,14 @@ MonoBehaviour:
|
||||
- {fileID: 4}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 594
|
||||
x: 1038
|
||||
y: 0
|
||||
width: 182
|
||||
width: 321
|
||||
height: 987
|
||||
m_MinSize: {x: 100, y: 200}
|
||||
m_MaxSize: {x: 8096, y: 16192}
|
||||
vertical: 1
|
||||
controlID: 17
|
||||
controlID: 47
|
||||
--- !u!114 &6
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -144,8 +144,8 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 182
|
||||
height: 716
|
||||
width: 321
|
||||
height: 295
|
||||
m_MinSize: {x: 202, y: 221}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 17}
|
||||
@@ -173,12 +173,12 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 30
|
||||
width: 1016
|
||||
width: 1794
|
||||
height: 987
|
||||
m_MinSize: {x: 300, y: 200}
|
||||
m_MaxSize: {x: 24288, y: 16192}
|
||||
vertical: 0
|
||||
controlID: 41
|
||||
controlID: 133
|
||||
--- !u!114 &8
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
@@ -194,9 +194,9 @@ MonoBehaviour:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 776
|
||||
x: 1359
|
||||
y: 0
|
||||
width: 240
|
||||
width: 435
|
||||
height: 987
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
@@ -225,7 +225,7 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1016
|
||||
width: 1794
|
||||
height: 1037
|
||||
m_MinSize: {x: 875, y: 300}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
@@ -250,7 +250,7 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1016
|
||||
width: 1794
|
||||
height: 30
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
@@ -272,7 +272,7 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 1017
|
||||
width: 1016
|
||||
width: 1794
|
||||
height: 20
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
@@ -293,7 +293,7 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 594
|
||||
width: 1038
|
||||
height: 716
|
||||
m_MinSize: {x: 201, y: 221}
|
||||
m_MaxSize: {x: 4001, y: 4021}
|
||||
@@ -325,7 +325,7 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 64
|
||||
y: 73
|
||||
width: 1085
|
||||
width: 1073
|
||||
height: 695
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
@@ -337,7 +337,7 @@ MonoBehaviour:
|
||||
m_ShowGizmos: 0
|
||||
m_TargetDisplay: 0
|
||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
|
||||
m_TargetSize: {x: 1085, y: 674}
|
||||
m_TargetSize: {x: 1073, y: 674}
|
||||
m_TextureFilterMode: 0
|
||||
m_TextureHideFlags: 61
|
||||
m_RenderIMGUI: 1
|
||||
@@ -352,8 +352,8 @@ MonoBehaviour:
|
||||
m_VRangeLocked: 0
|
||||
hZoomLockedByDefault: 0
|
||||
vZoomLockedByDefault: 0
|
||||
m_HBaseRangeMin: -542.5
|
||||
m_HBaseRangeMax: 542.5
|
||||
m_HBaseRangeMin: -536.5
|
||||
m_HBaseRangeMax: 536.5
|
||||
m_VBaseRangeMin: -337
|
||||
m_VBaseRangeMax: 337
|
||||
m_HAllowExceedBaseRangeMin: 1
|
||||
@@ -373,23 +373,23 @@ MonoBehaviour:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 21
|
||||
width: 1085
|
||||
width: 1073
|
||||
height: 674
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Translation: {x: 542.5, y: 337}
|
||||
m_Translation: {x: 536.5, y: 337}
|
||||
m_MarginLeft: 0
|
||||
m_MarginRight: 0
|
||||
m_MarginTop: 0
|
||||
m_MarginBottom: 0
|
||||
m_LastShownAreaInsideMargins:
|
||||
serializedVersion: 2
|
||||
x: -542.5
|
||||
x: -536.5
|
||||
y: -337
|
||||
width: 1085
|
||||
width: 1073
|
||||
height: 674
|
||||
m_MinimalGUI: 1
|
||||
m_defaultScale: 1
|
||||
m_LastWindowPixelSize: {x: 1085, y: 695}
|
||||
m_LastWindowPixelSize: {x: 1073, y: 695}
|
||||
m_ClearInEditMode: 1
|
||||
m_NoCameraWarning: 1
|
||||
m_LowResolutionForAspectRatios: 01000000000000000000
|
||||
@@ -443,9 +443,9 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 735
|
||||
width: 593
|
||||
x: -212
|
||||
y: 1005
|
||||
width: 1037
|
||||
height: 250
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
@@ -464,36 +464,36 @@ MonoBehaviour:
|
||||
m_SkipHidden: 0
|
||||
m_SearchArea: 1
|
||||
m_Folders:
|
||||
- Assets/Script/InGame
|
||||
- Assets/Script
|
||||
m_Globs: []
|
||||
m_OriginalText:
|
||||
m_ViewMode: 1
|
||||
m_StartGridSize: 16
|
||||
m_LastFolders:
|
||||
- Assets/Script/InGame
|
||||
- Assets/Script
|
||||
m_LastFoldersGridSize: 16
|
||||
m_LastProjectPath: C:\Users\UCUNI\OneDrive\Unity\ML-Agents\Aimbot-ParallelEnv
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_FolderTreeState:
|
||||
scrollPos: {x: 0, y: 138}
|
||||
m_SelectedIDs: 186a0000
|
||||
m_LastClickedID: 27160
|
||||
m_ExpandedIDs: 00000000a4690000a6690000a8690000aa690000ac690000d8690000de69000000ca9a3bffffff7f
|
||||
scrollPos: {x: 0, y: 122}
|
||||
m_SelectedIDs: 06670000
|
||||
m_LastClickedID: 26374
|
||||
m_ExpandedIDs: 00000000e2660000e4660000e6660000e8660000ea6600000667000000ca9a3b
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name: Prefeb
|
||||
m_OriginalName: Prefeb
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 1000000003
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 2}
|
||||
m_SearchString:
|
||||
@@ -507,7 +507,7 @@ MonoBehaviour:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: 00000000a4690000a6690000a8690000aa690000ac690000
|
||||
m_ExpandedIDs: 00000000e2660000e4660000e6660000e8660000ea660000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
@@ -538,15 +538,15 @@ MonoBehaviour:
|
||||
m_ExpandedInstanceIDs: c623000000000000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name: Attack-1Wall-0
|
||||
m_OriginalName: Attack-1Wall-0
|
||||
m_Name: PlayerCamera
|
||||
m_OriginalName: PlayerCamera
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 24398
|
||||
m_UserData: 5744
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 0
|
||||
@@ -583,9 +583,9 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 1122
|
||||
y: 248
|
||||
width: 239
|
||||
x: 1147
|
||||
y: 289
|
||||
width: 434
|
||||
height: 966
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
@@ -624,10 +624,10 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 940
|
||||
y: 248
|
||||
width: 180
|
||||
height: 695
|
||||
x: 826
|
||||
y: 289
|
||||
width: 319
|
||||
height: 274
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
@@ -635,23 +635,23 @@ MonoBehaviour:
|
||||
m_SceneHierarchy:
|
||||
m_TreeViewState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: ba5d0000
|
||||
m_LastClickedID: 23994
|
||||
m_ExpandedIDs: 86f0ffffdaf0ffff32fbffff025b0000145c0000905e0000
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: 9232ffff32fbffffa65900009c5a0000025b0000cc5b0000d85b0000145c0000b25c0000845e000088cb0000a6cb0000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_Name: WaitTimeTime
|
||||
m_OriginalName: WaitTimeTime
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_UserData: 52074
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_OriginalEventType: 0
|
||||
m_IsRenamingFilename: 0
|
||||
m_ClientGUIView: {fileID: 6}
|
||||
m_SearchString:
|
||||
@@ -681,9 +681,9 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 346
|
||||
y: 248
|
||||
width: 593
|
||||
x: -212
|
||||
y: 289
|
||||
width: 1037
|
||||
height: 695
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
@@ -716,7 +716,7 @@ MonoBehaviour:
|
||||
floating: 0
|
||||
collapsed: 0
|
||||
displayed: 1
|
||||
snapOffset: {x: 0, y: 0}
|
||||
snapOffset: {x: 0, y: 25}
|
||||
snapOffsetDelta: {x: 0, y: 0}
|
||||
snapCorner: 0
|
||||
id: unity-scene-view-toolbar
|
||||
@@ -919,9 +919,9 @@ MonoBehaviour:
|
||||
m_PlayAudio: 0
|
||||
m_AudioPlay: 0
|
||||
m_Position:
|
||||
m_Target: {x: -1.9757904, y: 37.38048, z: -3.9826856}
|
||||
m_Target: {x: 527.9375, y: 203.3164, z: 406.25055}
|
||||
speed: 2
|
||||
m_Value: {x: 66.24889, y: -54.049023, z: -29.673973}
|
||||
m_Value: {x: 527.9375, y: 203.3164, z: 406.25055}
|
||||
m_RenderMode: 0
|
||||
m_CameraMode:
|
||||
drawMode: 0
|
||||
@@ -968,13 +968,13 @@ MonoBehaviour:
|
||||
m_GridAxis: 1
|
||||
m_gridOpacity: 0.5
|
||||
m_Rotation:
|
||||
m_Target: {x: 0.3737313, y: 0.35359865, z: -0.1568066, w: 0.8430081}
|
||||
m_Target: {x: 0.19678506, y: 0.23813863, z: -0.049381696, w: 0.9497747}
|
||||
speed: 2
|
||||
m_Value: {x: -0.17065884, y: -0.79835737, z: 0.2657279, w: -0.51272774}
|
||||
m_Value: {x: 0.19536556, y: 0.23821901, z: -0.049025822, w: 0.950095}
|
||||
m_Size:
|
||||
m_Target: 5.2687497
|
||||
m_Target: 718.14734
|
||||
speed: 2
|
||||
m_Value: 50.033897
|
||||
m_Value: 751.98676
|
||||
m_Ortho:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
@@ -1019,10 +1019,10 @@ MonoBehaviour:
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 1
|
||||
y: 735
|
||||
width: 180
|
||||
height: 250
|
||||
x: 826
|
||||
y: 584
|
||||
width: 319
|
||||
height: 671
|
||||
m_ViewDataDictionary: {fileID: 0}
|
||||
m_OverlayCanvas:
|
||||
m_LastAppliedPresetName: Default
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "Assets",
|
||||
"roots": ["Assets"],
|
||||
"includes": [],
|
||||
"excludes": [],
|
||||
"options": {
|
||||
"types": true,
|
||||
"properties": true,
|
||||
"extended": false,
|
||||
"dependencies": false
|
||||
},
|
||||
"baseScore": 999
|
||||
}
|
||||
@@ -1 +1,89 @@
|
||||
{}
|
||||
trackSelection = true
|
||||
fetchPreview = true
|
||||
defaultFlags = 0
|
||||
keepOpen = false
|
||||
queryFolder = "Assets"
|
||||
onBoardingDoNotAskAgain = true
|
||||
showPackageIndexes = false
|
||||
showStatusBar = false
|
||||
scopes = {
|
||||
"last_search.DD5CDD96" = "StartUIManager"
|
||||
"OpenInspectorPreview.DD5CDD96" = "0"
|
||||
"currentGroup.DD5CDD96" = "scene"
|
||||
"last_search.2138236A" = "t:selectEffect"
|
||||
"OpenInspectorPreview.2138236A" = "0"
|
||||
"currentGroup.2138236A" = "asset"
|
||||
}
|
||||
providers = {
|
||||
adb = {
|
||||
active = false
|
||||
priority = 2500
|
||||
defaultAction = null
|
||||
}
|
||||
asset = {
|
||||
active = true
|
||||
priority = 25
|
||||
defaultAction = null
|
||||
}
|
||||
store = {
|
||||
active = true
|
||||
priority = 100
|
||||
defaultAction = null
|
||||
}
|
||||
find = {
|
||||
active = true
|
||||
priority = 25
|
||||
defaultAction = null
|
||||
}
|
||||
log = {
|
||||
active = false
|
||||
priority = 210
|
||||
defaultAction = null
|
||||
}
|
||||
packages = {
|
||||
active = true
|
||||
priority = 90
|
||||
defaultAction = null
|
||||
}
|
||||
performance = {
|
||||
active = false
|
||||
priority = 100
|
||||
defaultAction = null
|
||||
}
|
||||
scene = {
|
||||
active = true
|
||||
priority = 50
|
||||
defaultAction = null
|
||||
}
|
||||
}
|
||||
objectSelectors = {
|
||||
}
|
||||
recentSearches = [
|
||||
"StartUIManager"
|
||||
"t:PlayerCamera"
|
||||
"t"
|
||||
"t:PlayGameModeController"
|
||||
"t:TargetUIController"
|
||||
"SelectEffect"
|
||||
"t:selectEffect"
|
||||
"t:MouseSelector"
|
||||
"M"
|
||||
"t:WorldUIController"
|
||||
"t:rayInfoUI"
|
||||
"t:我使用Unity制作游戏,我想知道哪些gameobject使用了某个script,我该怎么做?"
|
||||
"t:"
|
||||
"rayInfoUIrayInfoUI"
|
||||
"rayInfoUI"
|
||||
"SceneBlockContainer"
|
||||
"HUDController"
|
||||
]
|
||||
searchItemFavorites = [
|
||||
]
|
||||
savedSearchesSortOrder = 0
|
||||
showSavedSearchPanel = false
|
||||
expandedQueries = [
|
||||
]
|
||||
queryBuilder = false
|
||||
ignoredProperties = "id;name;classname;imagecontentshash"
|
||||
helperWidgetCurrentArea = "all"
|
||||
disabledIndexers = ""
|
||||
Reference in New Issue
Block a user