From 74acc93c0cf23e4109f86e03c3efabe1db88fc10 Mon Sep 17 00:00:00 2001 From: Red Kitsune Date: Thu, 21 Sep 2023 01:03:35 +0200 Subject: [PATCH] Add XML comments --- .../Engine/Level/Components/MissingScript.h | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/Source/Engine/Level/Components/MissingScript.h b/Source/Engine/Level/Components/MissingScript.h index 641f905eb..601346203 100644 --- a/Source/Engine/Level/Components/MissingScript.h +++ b/Source/Engine/Level/Components/MissingScript.h @@ -5,23 +5,38 @@ #include "Engine/Scripting/ScriptingObjectReference.h" #include "Engine/Serialization/JsonWriters.h" +/// +/// Actor script component that represents missing script. +/// API_CLASS(Attributes="HideInEditor") class FLAXENGINE_API MissingScript : public Script { API_AUTO_SERIALIZATION(); DECLARE_SCRIPTING_TYPE(MissingScript); public: - + + /// + /// Namespace and type name of missing script. + /// API_FIELD(Attributes="ReadOnly") String MissingTypeName; - + + /// + /// Missing script serialized data. + /// API_FIELD(Hidden, Attributes="HideInEditor") String Data; - + + /// + /// Field for assigning new script to transfer data to. + /// API_PROPERTY() FORCE_INLINE ScriptingObjectReference