From 069a1da352a67194678954e05ceccda3506da843 Mon Sep 17 00:00:00 2001 From: OverflowNarhoym Date: Mon, 21 Feb 2022 16:46:03 +0100 Subject: [PATCH] Removed unused variable --- Assets/Scripts/Entity.meta | 3 + Assets/Scripts/Entity/IMovement.cs | 6 + Assets/Scripts/Entity/IMovement.cs.meta | 3 + Assets/Scripts/{ => Entity}/Player.meta | 0 .../Scripts/Entity/Player/PlayerController.cs | 8 + .../Player/PlayerController.cs.meta | 0 Assets/Scripts/Player/PlayerController.cs | 9 - UserSettings/Layouts/default-2021.dwlt | 208 +++++------------- 8 files changed, 73 insertions(+), 164 deletions(-) create mode 100644 Assets/Scripts/Entity.meta create mode 100644 Assets/Scripts/Entity/IMovement.cs create mode 100644 Assets/Scripts/Entity/IMovement.cs.meta rename Assets/Scripts/{ => Entity}/Player.meta (100%) create mode 100644 Assets/Scripts/Entity/Player/PlayerController.cs rename Assets/Scripts/{ => Entity}/Player/PlayerController.cs.meta (100%) delete mode 100644 Assets/Scripts/Player/PlayerController.cs diff --git a/Assets/Scripts/Entity.meta b/Assets/Scripts/Entity.meta new file mode 100644 index 0000000..8b51480 --- /dev/null +++ b/Assets/Scripts/Entity.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: b408a30f09ef434ba0049326be060a01 +timeCreated: 1645440974 \ No newline at end of file diff --git a/Assets/Scripts/Entity/IMovement.cs b/Assets/Scripts/Entity/IMovement.cs new file mode 100644 index 0000000..160e313 --- /dev/null +++ b/Assets/Scripts/Entity/IMovement.cs @@ -0,0 +1,6 @@ +namespace Entity +{ + public interface IMovement + { + } +} \ No newline at end of file diff --git a/Assets/Scripts/Entity/IMovement.cs.meta b/Assets/Scripts/Entity/IMovement.cs.meta new file mode 100644 index 0000000..8c13ddd --- /dev/null +++ b/Assets/Scripts/Entity/IMovement.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 9f2ac0c9f14b4b33a8a3c656d94ecad2 +timeCreated: 1645440963 \ No newline at end of file diff --git a/Assets/Scripts/Player.meta b/Assets/Scripts/Entity/Player.meta similarity index 100% rename from Assets/Scripts/Player.meta rename to Assets/Scripts/Entity/Player.meta diff --git a/Assets/Scripts/Entity/Player/PlayerController.cs b/Assets/Scripts/Entity/Player/PlayerController.cs new file mode 100644 index 0000000..7af161b --- /dev/null +++ b/Assets/Scripts/Entity/Player/PlayerController.cs @@ -0,0 +1,8 @@ +using UnityEngine; + +namespace Entity.Player +{ + public class PlayerController : MonoBehaviour, IMovement + { + } +} \ No newline at end of file diff --git a/Assets/Scripts/Player/PlayerController.cs.meta b/Assets/Scripts/Entity/Player/PlayerController.cs.meta similarity index 100% rename from Assets/Scripts/Player/PlayerController.cs.meta rename to Assets/Scripts/Entity/Player/PlayerController.cs.meta diff --git a/Assets/Scripts/Player/PlayerController.cs b/Assets/Scripts/Player/PlayerController.cs deleted file mode 100644 index 55de6bd..0000000 --- a/Assets/Scripts/Player/PlayerController.cs +++ /dev/null @@ -1,9 +0,0 @@ -using UnityEngine; - -namespace Player -{ - public class PlayerController : MonoBehaviour - { - private int i; - } -} \ No newline at end of file diff --git a/UserSettings/Layouts/default-2021.dwlt b/UserSettings/Layouts/default-2021.dwlt index 5a54cb5..8696116 100644 --- a/UserSettings/Layouts/default-2021.dwlt +++ b/UserSettings/Layouts/default-2021.dwlt @@ -1,30 +1,6 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &1 -MonoBehaviour: - m_ObjectHideFlags: 52 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 12004, guid: 0000000000000000e000000000000000, type: 0} - m_Name: - m_EditorClassIdentifier: - m_PixelRect: - serializedVersion: 2 - x: 387.2 - y: 34.4 - width: 1142.4 - height: 648 - m_ShowMode: 0 - m_Title: Package Manager - m_RootView: {fileID: 4} - m_MinSize: {x: 800, y: 271} - m_MaxSize: {x: 4000, y: 4021} - m_Maximized: 0 ---- !u!114 &2 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -43,62 +19,12 @@ MonoBehaviour: width: 1536 height: 780.8 m_ShowMode: 4 - m_Title: Project - m_RootView: {fileID: 7} + m_Title: Scene + m_RootView: {fileID: 4} m_MinSize: {x: 875, y: 300} m_MaxSize: {x: 10000, y: 10000} m_Maximized: 1 ---- !u!114 &3 -MonoBehaviour: - m_ObjectHideFlags: 52 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: PackageManagerWindow - m_EditorClassIdentifier: - m_Children: [] - m_Position: - serializedVersion: 2 - x: 0 - y: 0 - width: 1142.4 - height: 648 - m_MinSize: {x: 800, y: 250} - m_MaxSize: {x: 4000, y: 4000} - m_ActualView: {fileID: 16} - m_Panes: - - {fileID: 16} - m_Selected: 0 - m_LastSelected: 0 ---- !u!114 &4 -MonoBehaviour: - m_ObjectHideFlags: 52 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0} - m_Name: - m_EditorClassIdentifier: - m_Children: - - {fileID: 3} - m_Position: - serializedVersion: 2 - x: 0 - y: 0 - width: 1142.4 - height: 648 - m_MinSize: {x: 800, y: 271} - m_MaxSize: {x: 4000, y: 4021} - vertical: 0 - controlID: 2344 ---- !u!114 &5 +--- !u!114 &2 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -119,12 +45,12 @@ MonoBehaviour: height: 216.39996 m_MinSize: {x: 102, y: 121} m_MaxSize: {x: 4002, y: 4021} - m_ActualView: {fileID: 20} + m_ActualView: {fileID: 16} m_Panes: - - {fileID: 20} + - {fileID: 16} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &6 +--- !u!114 &3 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -137,8 +63,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 14} - - {fileID: 5} + - {fileID: 11} + - {fileID: 2} m_Position: serializedVersion: 2 x: 304 @@ -148,8 +74,8 @@ MonoBehaviour: m_MinSize: {x: 100, y: 200} m_MaxSize: {x: 8096, y: 16192} vertical: 1 - controlID: 179 ---- !u!114 &7 + controlID: 85 +--- !u!114 &4 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -162,9 +88,9 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 8} - - {fileID: 10} - - {fileID: 9} + - {fileID: 5} + - {fileID: 7} + - {fileID: 6} m_Position: serializedVersion: 2 x: 0 @@ -177,7 +103,7 @@ MonoBehaviour: m_TopViewHeight: 30 m_UseBottomView: 1 m_BottomViewHeight: 20 ---- !u!114 &8 +--- !u!114 &5 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -198,8 +124,8 @@ MonoBehaviour: height: 30 m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} - m_LastLoadedLayoutName: Main ---- !u!114 &9 + m_LastLoadedLayoutName: +--- !u!114 &6 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -220,7 +146,7 @@ MonoBehaviour: height: 20 m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} ---- !u!114 &10 +--- !u!114 &7 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -233,9 +159,9 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 11} - - {fileID: 6} - - {fileID: 15} + - {fileID: 8} + - {fileID: 3} + - {fileID: 12} m_Position: serializedVersion: 2 x: 0 @@ -245,8 +171,8 @@ MonoBehaviour: m_MinSize: {x: 300, y: 200} m_MaxSize: {x: 24288, y: 16192} vertical: 0 - controlID: 178 ---- !u!114 &11 + controlID: 84 +--- !u!114 &8 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -259,8 +185,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 12} - - {fileID: 13} + - {fileID: 9} + - {fileID: 10} m_Position: serializedVersion: 2 x: 0 @@ -270,8 +196,8 @@ MonoBehaviour: m_MinSize: {x: 100, y: 200} m_MaxSize: {x: 8096, y: 16192} vertical: 1 - controlID: 160 ---- !u!114 &12 + controlID: 57 +--- !u!114 &9 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -292,12 +218,12 @@ MonoBehaviour: height: 381.6 m_MinSize: {x: 201, y: 221} m_MaxSize: {x: 4001, y: 4021} - m_ActualView: {fileID: 18} + m_ActualView: {fileID: 14} m_Panes: - - {fileID: 18} + - {fileID: 14} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &13 +--- !u!114 &10 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -318,12 +244,12 @@ MonoBehaviour: height: 349.19998 m_MinSize: {x: 231, y: 271} m_MaxSize: {x: 10001, y: 10021} - m_ActualView: {fileID: 19} + m_ActualView: {fileID: 15} m_Panes: - - {fileID: 19} + - {fileID: 15} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &14 +--- !u!114 &11 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -344,13 +270,13 @@ MonoBehaviour: height: 514.4 m_MinSize: {x: 202, y: 221} m_MaxSize: {x: 4002, y: 4021} - m_ActualView: {fileID: 21} + m_ActualView: {fileID: 17} m_Panes: - - {fileID: 21} - {fileID: 17} + - {fileID: 13} m_Selected: 0 m_LastSelected: 1 ---- !u!114 &15 +--- !u!114 &12 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -371,40 +297,12 @@ MonoBehaviour: height: 730.8 m_MinSize: {x: 276, y: 71} m_MaxSize: {x: 4001, y: 4021} - m_ActualView: {fileID: 22} + m_ActualView: {fileID: 18} m_Panes: - - {fileID: 22} + - {fileID: 18} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &16 -MonoBehaviour: - m_ObjectHideFlags: 52 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 13953, guid: 0000000000000000e000000000000000, type: 0} - m_Name: - m_EditorClassIdentifier: - m_MinSize: {x: 800, y: 250} - m_MaxSize: {x: 4000, y: 4000} - m_TitleContent: - m_Text: Package Manager - m_Image: {fileID: 5076950121296946556, guid: 0000000000000000d000000000000000, type: 0} - m_Tooltip: - m_Pos: - serializedVersion: 2 - x: 387.2 - y: 34.4 - width: 1142.4 - height: 627 - m_ViewDataDictionary: {fileID: 0} - m_OverlayCanvas: - m_LastAppliedPresetName: Default - m_SaveData: [] ---- !u!114 &17 +--- !u!114 &13 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -496,7 +394,7 @@ MonoBehaviour: m_LowResolutionForAspectRatios: 00000000000100000100 m_XRRenderMode: 0 m_RenderTexture: {fileID: 0} ---- !u!114 &18 +--- !u!114 &14 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -527,9 +425,9 @@ MonoBehaviour: m_SceneHierarchy: m_TreeViewState: scrollPos: {x: 0, y: 0} - m_SelectedIDs: 30e8ffff + m_SelectedIDs: m_LastClickedID: 0 - m_ExpandedIDs: 0efbffff + m_ExpandedIDs: 0cfbffff m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -545,7 +443,7 @@ MonoBehaviour: m_IsRenaming: 0 m_OriginalEventType: 11 m_IsRenamingFilename: 0 - m_ClientGUIView: {fileID: 12} + m_ClientGUIView: {fileID: 9} m_SearchString: m_ExpandedScenes: [] m_CurrenRootInstanceID: 0 @@ -553,7 +451,7 @@ MonoBehaviour: m_IsLocked: 0 m_CurrentSortingName: TransformSorting m_WindowGUID: 46b7a0fefa812c44ca6fda42b4d7b176 ---- !u!114 &19 +--- !u!114 &15 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -607,7 +505,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} m_SelectedIDs: dc3c0000 m_LastClickedID: 15580 - m_ExpandedIDs: 00000000e063000000ca9a3b + m_ExpandedIDs: 00000000f8620000fa620000fc620000 m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -635,7 +533,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} m_SelectedIDs: m_LastClickedID: 0 - m_ExpandedIDs: ffffffff00000000e0630000a66c0000b46c000000ca9a3b + m_ExpandedIDs: ffffffff00000000f8620000fa620000fc620000 m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -651,7 +549,7 @@ MonoBehaviour: m_IsRenaming: 0 m_OriginalEventType: 11 m_IsRenamingFilename: 1 - m_ClientGUIView: {fileID: 13} + m_ClientGUIView: {fileID: 10} m_SearchString: m_CreateAssetUtility: m_EndAction: {fileID: 0} @@ -691,7 +589,7 @@ MonoBehaviour: m_GridSize: 64 m_SkipHiddenPackages: 0 m_DirectoriesAreaWidth: 170 ---- !u!114 &20 +--- !u!114 &16 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -719,7 +617,7 @@ MonoBehaviour: m_OverlayCanvas: m_LastAppliedPresetName: Default m_SaveData: [] ---- !u!114 &21 +--- !u!114 &17 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -966,9 +864,9 @@ MonoBehaviour: m_PlayAudio: 0 m_AudioPlay: 0 m_Position: - m_Target: {x: 0.5526388, y: 0.13719626, z: -0.12645172} + m_Target: {x: -0.15326892, y: 0.05985144, z: -0.113706104} speed: 2 - m_Value: {x: 0.5526388, y: 0.13719626, z: -0.12645172} + m_Value: {x: 0.007334292, y: 0.0774484, z: -0.1166059} m_RenderMode: 0 m_CameraMode: drawMode: 0 @@ -1019,9 +917,9 @@ MonoBehaviour: speed: 2 m_Value: {x: 0, y: 0, z: 0, w: 1} m_Size: - m_Target: 7.428529 + m_Target: 6.153973 speed: 2 - m_Value: 7.428529 + m_Value: 6.443951 m_Ortho: m_Target: 1 speed: 2 @@ -1046,7 +944,7 @@ MonoBehaviour: m_SceneVisActive: 1 m_LastLockedObject: {fileID: 0} m_ViewIsLockedToObject: 0 ---- !u!114 &22 +--- !u!114 &18 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0}