diff --git a/Source/Engine/Level/Actor.h b/Source/Engine/Level/Actor.h index f812fc1b2..38bd629a5 100644 --- a/Source/Engine/Level/Actor.h +++ b/Source/Engine/Level/Actor.h @@ -105,7 +105,8 @@ public: /// /// Gets the name of the layer. /// - API_PROPERTY() const String& GetLayerName() const; + API_PROPERTY(Attributes="HideInEditor, NoSerialize, NoAnimate") + const String& GetLayerName() const; /// /// Sets the name of the layer.