Support custom deprecation messages in bindings generator

This commit is contained in:
2024-06-17 20:00:30 +03:00
parent 6e0dd2064a
commit e08b57e814
21 changed files with 98 additions and 43 deletions

View File

@@ -164,13 +164,13 @@ public:
/// [Deprecated in v1.5]
/// </summary>
API_PROPERTY(Attributes="HideInEditor, NoSerialize, NoAnimate")
DEPRECATED const String& GetTag() const;
DEPRECATED("Use HasTag instead") const String& GetTag() const;
/// <summary>
/// Sets the name of the tag.
/// [Deprecated in v1.5]
/// </summary>
API_PROPERTY() DEPRECATED void SetTag(const StringView& value);
API_PROPERTY() DEPRECATED("Use AddTag instead") void SetTag(const StringView& value);
/// <summary>
/// Gets the actor name.

View File

@@ -160,7 +160,7 @@ public:
/// [Deprecated on 26.10.2022, expires on 26.10.2024]
/// </summary>
API_FIELD(Attributes="EditorOrder(110), DefaultValue(ShadowsCastingMode.All), EditorDisplay(\"Skinned Model\")")
DEPRECATED ShadowsCastingMode ShadowsMode = ShadowsCastingMode::All;
DEPRECATED() ShadowsCastingMode ShadowsMode = ShadowsCastingMode::All;
/// <summary>
/// The animation root motion apply target. If not specified the animated model will apply it itself.