From 652510ee50ba123a49d3fb344ddd53d9979daa47 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Sun, 1 Oct 2023 21:55:20 +0200 Subject: [PATCH] Minor codestyle tweaks for #1420 --- .../Engine/Level/Components/MissingScript.h | 44 +++++++++---------- Source/Engine/Level/SceneObjectsFactory.cpp | 15 ++++--- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/Source/Engine/Level/Components/MissingScript.h b/Source/Engine/Level/Components/MissingScript.h index 601346203..bfb73498f 100644 --- a/Source/Engine/Level/Components/MissingScript.h +++ b/Source/Engine/Level/Components/MissingScript.h @@ -1,4 +1,8 @@ -#pragma once +// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. + +#pragma once + +#if USE_EDITOR #include "Engine/Core/Cache.h" #include "Engine/Scripting/Script.h" @@ -13,8 +17,10 @@ API_CLASS(Attributes="HideInEditor") class FLAXENGINE_API MissingScript : public API_AUTO_SERIALIZATION(); DECLARE_SCRIPTING_TYPE(MissingScript); -public: +private: + ScriptingObjectReference