diff --git a/Assets/TEngine/Editor/Inspector/FsmComponentInspector.cs b/Assets/TEngine/Editor/Inspector/FsmComponentInspector.cs index 32c18ca0..ea588427 100644 --- a/Assets/TEngine/Editor/Inspector/FsmComponentInspector.cs +++ b/Assets/TEngine/Editor/Inspector/FsmComponentInspector.cs @@ -2,7 +2,7 @@ namespace TEngine.Editor.Inspector { - [CustomEditor(typeof(FsmComponent))] + [CustomEditor(typeof(FsmModule))] internal sealed class FsmComponentInspector : GameFrameworkInspector { public override void OnInspectorGUI() @@ -15,7 +15,7 @@ namespace TEngine.Editor.Inspector return; } - FsmComponent t = (FsmComponent)target; + FsmModule t = (FsmModule)target; if (IsPrefabInHierarchy(t.gameObject)) { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.EnvironmentInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.EnvironmentInformationWindow.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.EnvironmentInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.EnvironmentInformationWindow.cs index 19ff23c8..8ae8cad0 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.EnvironmentInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.EnvironmentInformationWindow.cs @@ -5,7 +5,7 @@ using UnityEngine.Rendering; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class EnvironmentInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.EnvironmentInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.EnvironmentInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.EnvironmentInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.EnvironmentInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.GraphicsInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.GraphicsInformationWindow.cs similarity index 99% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.GraphicsInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.GraphicsInformationWindow.cs index 57514c27..85f018f3 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.GraphicsInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.GraphicsInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class GraphicsInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.GraphicsInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.GraphicsInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.GraphicsInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.GraphicsInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputAccelerationInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputAccelerationInformationWindow.cs similarity index 95% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputAccelerationInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputAccelerationInformationWindow.cs index 4281c589..07efbf3f 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputAccelerationInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputAccelerationInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class InputAccelerationInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputAccelerationInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputAccelerationInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputAccelerationInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputAccelerationInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputCompassInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputCompassInformationWindow.cs similarity index 95% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputCompassInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputCompassInformationWindow.cs index e2bb895c..039d76ef 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputCompassInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputCompassInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class InputCompassInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputCompassInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputCompassInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputCompassInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputCompassInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputGyroscopeInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputGyroscopeInformationWindow.cs similarity index 95% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputGyroscopeInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputGyroscopeInformationWindow.cs index 69b14ebc..30a33d3d 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputGyroscopeInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputGyroscopeInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class InputGyroscopeInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputGyroscopeInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputGyroscopeInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputGyroscopeInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputGyroscopeInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputLocationInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputLocationInformationWindow.cs similarity index 96% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputLocationInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputLocationInformationWindow.cs index c0083672..8d759539 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputLocationInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputLocationInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class InputLocationInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputLocationInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputLocationInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputLocationInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputLocationInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputSummaryInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputSummaryInformationWindow.cs similarity index 95% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputSummaryInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputSummaryInformationWindow.cs index 9307d068..3db8954d 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputSummaryInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputSummaryInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class InputSummaryInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputSummaryInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputSummaryInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputSummaryInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputSummaryInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputTouchInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputTouchInformationWindow.cs similarity index 95% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputTouchInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputTouchInformationWindow.cs index e43540a8..8e470821 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputTouchInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputTouchInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class InputTouchInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputTouchInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputTouchInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.InputTouchInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.InputTouchInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.LogNode.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.LogNode.cs similarity index 97% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.LogNode.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.LogNode.cs index 45cfba89..a546b14b 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.LogNode.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.LogNode.cs @@ -3,7 +3,7 @@ using UnityEngine; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { /// /// 日志记录结点。 diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.LogNode.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.LogNode.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.LogNode.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.LogNode.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.MemoryPoolInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.MemoryPoolInformationWindow.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.MemoryPoolInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.MemoryPoolInformationWindow.cs index 917b0ced..84a3498a 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.MemoryPoolInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.MemoryPoolInformationWindow.cs @@ -4,7 +4,7 @@ using UnityEngine; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class MemoryPoolPoolInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.MemoryPoolInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.MemoryPoolInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.MemoryPoolInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.MemoryPoolInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.NetworkInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.NetworkInformationWindow.cs similarity index 97% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.NetworkInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.NetworkInformationWindow.cs index 2ae456ef..0ed03d62 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.NetworkInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.NetworkInformationWindow.cs @@ -2,7 +2,7 @@ // // namespace TEngine // { -// public sealed partial class DebuggerComponent : GameFrameworkComponent +// public sealed partial class DebuggerModule : GameFrameworkComponent // { // private sealed class NetworkInformationWindow : ScrollableDebuggerWindowBase // { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.NetworkInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.NetworkInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.NetworkInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.NetworkInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ObjectPoolInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ObjectPoolInformationWindow.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ObjectPoolInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ObjectPoolInformationWindow.cs index faace2ef..8151d956 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ObjectPoolInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ObjectPoolInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class ObjectPoolInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ObjectPoolInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ObjectPoolInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ObjectPoolInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ObjectPoolInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.OperationsWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.OperationsWindow.cs similarity index 96% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.OperationsWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.OperationsWindow.cs index faa3c04f..872f9e28 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.OperationsWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.OperationsWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class OperationsWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.OperationsWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.OperationsWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.OperationsWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.OperationsWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.PathInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.PathInformationWindow.cs similarity index 93% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.PathInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.PathInformationWindow.cs index 7e896ec0..dfada737 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.PathInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.PathInformationWindow.cs @@ -3,7 +3,7 @@ using UnityEngine; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class PathInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.PathInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.PathInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.PathInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.PathInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ProfilerInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ProfilerInformationWindow.cs similarity index 97% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ProfilerInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ProfilerInformationWindow.cs index eb6662ed..4def8f27 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ProfilerInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ProfilerInformationWindow.cs @@ -5,7 +5,7 @@ using UnityEngine.Profiling; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class ProfilerInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ProfilerInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ProfilerInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ProfilerInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ProfilerInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.QualityInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.QualityInformationWindow.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.QualityInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.QualityInformationWindow.cs index ba78a67a..9f18e7b6 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.QualityInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.QualityInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class QualityInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.QualityInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.QualityInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.QualityInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.QualityInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.Sample.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.Sample.cs similarity index 95% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.Sample.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.Sample.cs index 2e541369..1c116325 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.Sample.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.Sample.cs @@ -1,6 +1,6 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed partial class RuntimeMemoryInformationWindow : ScrollableDebuggerWindowBase where T : UnityEngine.Object { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.Sample.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.Sample.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.Sample.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.Sample.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.cs index dc36640e..01625f2f 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.cs @@ -7,7 +7,7 @@ using UnityEngine.Profiling; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed partial class RuntimeMemoryInformationWindow : ScrollableDebuggerWindowBase where T : UnityEngine.Object { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemoryInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemoryInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.Record.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.Record.cs similarity index 94% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.Record.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.Record.cs index 4bd613fd..b8e01491 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.Record.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.Record.cs @@ -1,6 +1,6 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed partial class RuntimeMemorySummaryWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.Record.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.Record.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.Record.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.Record.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.cs index 9970aad9..d7a0c39a 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.cs @@ -7,7 +7,7 @@ using UnityEngine.Profiling; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed partial class RuntimeMemorySummaryWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.RuntimeMemorySummaryWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.RuntimeMemorySummaryWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SceneInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SceneInformationWindow.cs similarity index 95% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SceneInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SceneInformationWindow.cs index fc4d918a..d572930b 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SceneInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SceneInformationWindow.cs @@ -3,7 +3,7 @@ using UnityEngine.SceneManagement; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class SceneInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SceneInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SceneInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SceneInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SceneInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScreenInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScreenInformationWindow.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScreenInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScreenInformationWindow.cs index dfff26a9..90240103 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScreenInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScreenInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class ScreenInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScreenInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScreenInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScreenInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScreenInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScrollableDebuggerWindowBase.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScrollableDebuggerWindowBase.cs similarity index 97% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScrollableDebuggerWindowBase.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScrollableDebuggerWindowBase.cs index 8d034214..a51a583b 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScrollableDebuggerWindowBase.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScrollableDebuggerWindowBase.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private abstract class ScrollableDebuggerWindowBase : IDebuggerWindow { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScrollableDebuggerWindowBase.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScrollableDebuggerWindowBase.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.ScrollableDebuggerWindowBase.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.ScrollableDebuggerWindowBase.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SettingsWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SettingsWindow.cs similarity index 65% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SettingsWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SettingsWindow.cs index bffddfb0..2b3ede83 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SettingsWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SettingsWindow.cs @@ -2,11 +2,11 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class SettingsWindow : ScrollableDebuggerWindowBase { - private DebuggerComponent m_DebuggerComponent = null; + private DebuggerModule _mDebuggerModule = null; private SettingComponent m_SettingComponent = null; private float m_LastIconX = 0f; private float m_LastIconY = 0f; @@ -18,8 +18,8 @@ namespace TEngine public override void Initialize(params object[] args) { - m_DebuggerComponent = GameEntry.GetComponent(); - if (m_DebuggerComponent == null) + _mDebuggerModule = GameEntry.GetComponent(); + if (_mDebuggerModule == null) { Log.Fatal("Debugger component is invalid."); return; @@ -38,53 +38,53 @@ namespace TEngine m_LastWindowY = m_SettingComponent.GetFloat("Debugger.Window.Y", DefaultWindowRect.y); m_LastWindowWidth = m_SettingComponent.GetFloat("Debugger.Window.Width", DefaultWindowRect.width); m_LastWindowHeight = m_SettingComponent.GetFloat("Debugger.Window.Height", DefaultWindowRect.height); - m_DebuggerComponent.WindowScale = m_LastWindowScale = m_SettingComponent.GetFloat("Debugger.Window.Scale", DefaultWindowScale); - m_DebuggerComponent.IconRect = new Rect(m_LastIconX, m_LastIconY, DefaultIconRect.width, DefaultIconRect.height); - m_DebuggerComponent.WindowRect = new Rect(m_LastWindowX, m_LastWindowY, m_LastWindowWidth, m_LastWindowHeight); + _mDebuggerModule.WindowScale = m_LastWindowScale = m_SettingComponent.GetFloat("Debugger.Window.Scale", DefaultWindowScale); + _mDebuggerModule.IconRect = new Rect(m_LastIconX, m_LastIconY, DefaultIconRect.width, DefaultIconRect.height); + _mDebuggerModule.WindowRect = new Rect(m_LastWindowX, m_LastWindowY, m_LastWindowWidth, m_LastWindowHeight); } public override void OnUpdate(float elapseSeconds, float realElapseSeconds) { - if (m_LastIconX != m_DebuggerComponent.IconRect.x) + if (m_LastIconX != _mDebuggerModule.IconRect.x) { - m_LastIconX = m_DebuggerComponent.IconRect.x; - m_SettingComponent.SetFloat("Debugger.Icon.X", m_DebuggerComponent.IconRect.x); + m_LastIconX = _mDebuggerModule.IconRect.x; + m_SettingComponent.SetFloat("Debugger.Icon.X", _mDebuggerModule.IconRect.x); } - if (m_LastIconY != m_DebuggerComponent.IconRect.y) + if (m_LastIconY != _mDebuggerModule.IconRect.y) { - m_LastIconY = m_DebuggerComponent.IconRect.y; - m_SettingComponent.SetFloat("Debugger.Icon.Y", m_DebuggerComponent.IconRect.y); + m_LastIconY = _mDebuggerModule.IconRect.y; + m_SettingComponent.SetFloat("Debugger.Icon.Y", _mDebuggerModule.IconRect.y); } - if (m_LastWindowX != m_DebuggerComponent.WindowRect.x) + if (m_LastWindowX != _mDebuggerModule.WindowRect.x) { - m_LastWindowX = m_DebuggerComponent.WindowRect.x; - m_SettingComponent.SetFloat("Debugger.Window.X", m_DebuggerComponent.WindowRect.x); + m_LastWindowX = _mDebuggerModule.WindowRect.x; + m_SettingComponent.SetFloat("Debugger.Window.X", _mDebuggerModule.WindowRect.x); } - if (m_LastWindowY != m_DebuggerComponent.WindowRect.y) + if (m_LastWindowY != _mDebuggerModule.WindowRect.y) { - m_LastWindowY = m_DebuggerComponent.WindowRect.y; - m_SettingComponent.SetFloat("Debugger.Window.Y", m_DebuggerComponent.WindowRect.y); + m_LastWindowY = _mDebuggerModule.WindowRect.y; + m_SettingComponent.SetFloat("Debugger.Window.Y", _mDebuggerModule.WindowRect.y); } - if (m_LastWindowWidth != m_DebuggerComponent.WindowRect.width) + if (m_LastWindowWidth != _mDebuggerModule.WindowRect.width) { - m_LastWindowWidth = m_DebuggerComponent.WindowRect.width; - m_SettingComponent.SetFloat("Debugger.Window.Width", m_DebuggerComponent.WindowRect.width); + m_LastWindowWidth = _mDebuggerModule.WindowRect.width; + m_SettingComponent.SetFloat("Debugger.Window.Width", _mDebuggerModule.WindowRect.width); } - if (m_LastWindowHeight != m_DebuggerComponent.WindowRect.height) + if (m_LastWindowHeight != _mDebuggerModule.WindowRect.height) { - m_LastWindowHeight = m_DebuggerComponent.WindowRect.height; - m_SettingComponent.SetFloat("Debugger.Window.Height", m_DebuggerComponent.WindowRect.height); + m_LastWindowHeight = _mDebuggerModule.WindowRect.height; + m_SettingComponent.SetFloat("Debugger.Window.Height", _mDebuggerModule.WindowRect.height); } - if (m_LastWindowScale != m_DebuggerComponent.WindowScale) + if (m_LastWindowScale != _mDebuggerModule.WindowScale) { - m_LastWindowScale = m_DebuggerComponent.WindowScale; - m_SettingComponent.SetFloat("Debugger.Window.Scale", m_DebuggerComponent.WindowScale); + m_LastWindowScale = _mDebuggerModule.WindowScale; + m_SettingComponent.SetFloat("Debugger.Window.Scale", _mDebuggerModule.WindowScale); } } @@ -102,7 +102,7 @@ namespace TEngine GUILayout.BeginHorizontal(); { - float width = m_DebuggerComponent.WindowRect.width; + float width = _mDebuggerModule.WindowRect.width; GUILayout.Label("Width:", GUILayout.Width(60f)); if (GUILayout.RepeatButton("-", GUILayout.Width(30f))) { @@ -114,16 +114,16 @@ namespace TEngine width++; } width = Mathf.Clamp(width, 100f, Screen.width - 20f); - if (width != m_DebuggerComponent.WindowRect.width) + if (width != _mDebuggerModule.WindowRect.width) { - m_DebuggerComponent.WindowRect = new Rect(m_DebuggerComponent.WindowRect.x, m_DebuggerComponent.WindowRect.y, width, m_DebuggerComponent.WindowRect.height); + _mDebuggerModule.WindowRect = new Rect(_mDebuggerModule.WindowRect.x, _mDebuggerModule.WindowRect.y, width, _mDebuggerModule.WindowRect.height); } } GUILayout.EndHorizontal(); GUILayout.BeginHorizontal(); { - float height = m_DebuggerComponent.WindowRect.height; + float height = _mDebuggerModule.WindowRect.height; GUILayout.Label("Height:", GUILayout.Width(60f)); if (GUILayout.RepeatButton("-", GUILayout.Width(30f))) { @@ -135,16 +135,16 @@ namespace TEngine height++; } height = Mathf.Clamp(height, 100f, Screen.height - 20f); - if (height != m_DebuggerComponent.WindowRect.height) + if (height != _mDebuggerModule.WindowRect.height) { - m_DebuggerComponent.WindowRect = new Rect(m_DebuggerComponent.WindowRect.x, m_DebuggerComponent.WindowRect.y, m_DebuggerComponent.WindowRect.width, height); + _mDebuggerModule.WindowRect = new Rect(_mDebuggerModule.WindowRect.x, _mDebuggerModule.WindowRect.y, _mDebuggerModule.WindowRect.width, height); } } GUILayout.EndHorizontal(); GUILayout.BeginHorizontal(); { - float scale = m_DebuggerComponent.WindowScale; + float scale = _mDebuggerModule.WindowScale; GUILayout.Label("Scale:", GUILayout.Width(60f)); if (GUILayout.RepeatButton("-", GUILayout.Width(30f))) { @@ -156,9 +156,9 @@ namespace TEngine scale += 0.01f; } scale = Mathf.Clamp(scale, 0.5f, 4f); - if (scale != m_DebuggerComponent.WindowScale) + if (scale != _mDebuggerModule.WindowScale) { - m_DebuggerComponent.WindowScale = scale; + _mDebuggerModule.WindowScale = scale; } } GUILayout.EndHorizontal(); @@ -167,42 +167,42 @@ namespace TEngine { if (GUILayout.Button("0.5x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 0.5f; + _mDebuggerModule.WindowScale = 0.5f; } if (GUILayout.Button("1.0x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 1f; + _mDebuggerModule.WindowScale = 1f; } if (GUILayout.Button("1.5x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 1.5f; + _mDebuggerModule.WindowScale = 1.5f; } if (GUILayout.Button("2.0x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 2f; + _mDebuggerModule.WindowScale = 2f; } if (GUILayout.Button("2.5x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 2.5f; + _mDebuggerModule.WindowScale = 2.5f; } if (GUILayout.Button("3.0x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 3f; + _mDebuggerModule.WindowScale = 3f; } if (GUILayout.Button("3.5x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 3.5f; + _mDebuggerModule.WindowScale = 3.5f; } if (GUILayout.Button("4.0x", GUILayout.Height(60f))) { - m_DebuggerComponent.WindowScale = 4f; + _mDebuggerModule.WindowScale = 4f; } } GUILayout.EndHorizontal(); if (GUILayout.Button("Reset Layout", GUILayout.Height(30f))) { - m_DebuggerComponent.ResetLayout(); + _mDebuggerModule.ResetLayout(); } } GUILayout.EndVertical(); diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SettingsWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SettingsWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SettingsWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SettingsWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SystemInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SystemInformationWindow.cs similarity index 97% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SystemInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SystemInformationWindow.cs index 8759dc30..e2edee90 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SystemInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SystemInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class SystemInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SystemInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SystemInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.SystemInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.SystemInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.TimeInformationWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.TimeInformationWindow.cs similarity index 97% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.TimeInformationWindow.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.TimeInformationWindow.cs index d9a06f91..86ded78b 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.TimeInformationWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.TimeInformationWindow.cs @@ -2,7 +2,7 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class TimeInformationWindow : ScrollableDebuggerWindowBase { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.TimeInformationWindow.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.TimeInformationWindow.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerComponent.TimeInformationWindow.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/Component/DebuggerModule.TimeInformationWindow.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.ConsoleWindow.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.ConsoleWindow.cs index 8ff5e710..87e43ded 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.ConsoleWindow.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.ConsoleWindow.cs @@ -4,7 +4,7 @@ using UnityEngine; namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { [Serializable] private sealed class ConsoleWindow : IDebuggerWindow diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.FpsCounter.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.FpsCounter.cs index c90a2343..c50e6063 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.FpsCounter.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.FpsCounter.cs @@ -1,6 +1,6 @@ namespace TEngine { - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { private sealed class FpsCounter { diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.cs b/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerModule.cs similarity index 99% rename from Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.cs rename to Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerModule.cs index 5849f479..634d4038 100644 --- a/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.cs +++ b/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerModule.cs @@ -8,7 +8,7 @@ namespace TEngine /// 调试器组件。 /// [DisallowMultipleComponent] - public sealed partial class DebuggerComponent : GameFrameworkComponent + public sealed partial class DebuggerModule : GameFrameworkComponent { /// /// 默认调试器漂浮框大小。 diff --git a/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.cs.meta b/Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerModule.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerComponent.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Debugger/DebuggerModule.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/Fsm/FsmComponent.cs b/Assets/TEngine/Runtime/GameFramework/Fsm/FsmModule.cs similarity index 98% rename from Assets/TEngine/Runtime/GameFramework/Fsm/FsmComponent.cs rename to Assets/TEngine/Runtime/GameFramework/Fsm/FsmModule.cs index 1ceb2361..7b7d5e3e 100644 --- a/Assets/TEngine/Runtime/GameFramework/Fsm/FsmComponent.cs +++ b/Assets/TEngine/Runtime/GameFramework/Fsm/FsmModule.cs @@ -5,10 +5,10 @@ using UnityEngine; namespace TEngine { /// - /// 有限状态机组件。 + /// 有限状态机模块。 /// [DisallowMultipleComponent] - public sealed class FsmComponent : GameFrameworkComponent + public sealed class FsmModule : GameFrameworkComponent { private IFsmManager m_FsmManager = null; diff --git a/Assets/TEngine/Runtime/GameFramework/Fsm/FsmComponent.cs.meta b/Assets/TEngine/Runtime/GameFramework/Fsm/FsmModule.cs.meta similarity index 100% rename from Assets/TEngine/Runtime/GameFramework/Fsm/FsmComponent.cs.meta rename to Assets/TEngine/Runtime/GameFramework/Fsm/FsmModule.cs.meta diff --git a/Assets/TEngine/Runtime/GameFramework/RootModule.cs b/Assets/TEngine/Runtime/GameFramework/RootModule.cs index b0714e77..db9dec09 100644 --- a/Assets/TEngine/Runtime/GameFramework/RootModule.cs +++ b/Assets/TEngine/Runtime/GameFramework/RootModule.cs @@ -5,7 +5,7 @@ using TEngine.Localization; namespace TEngine { /// - /// 基础组件。 + /// 基础模块。 /// [DisallowMultipleComponent] public sealed class RootModule : GameFrameworkComponent diff --git a/Assets/TEngine/Runtime/GameModule.cs b/Assets/TEngine/Runtime/GameModule.cs index b90c3a62..6b2e4a36 100644 --- a/Assets/TEngine/Runtime/GameModule.cs +++ b/Assets/TEngine/Runtime/GameModule.cs @@ -17,12 +17,12 @@ public class GameModule:MonoBehaviour /// /// 获取调试模块。 /// - public static DebuggerComponent Debugger { get; private set; } + public static DebuggerModule Debugger { get; private set; } /// /// 获取有限状态机模块。 /// - public static FsmComponent Fsm { get; private set; } + public static FsmModule Fsm { get; private set; } /// /// 获取对象池模块。 @@ -52,8 +52,8 @@ public class GameModule:MonoBehaviour public static void InitFrameWorkComponents() { Base = Get(); - Debugger = Get(); - Fsm = Get(); + Debugger = Get(); + Fsm = Get(); ObjectPool = Get(); Resource = Get(); Setting = Get();