Add support for PrefabObject tracks and automated animation instancing with UsePrefabObjects enabled

This commit is contained in:
Wojtek Figat
2021-12-11 17:27:22 +01:00
parent 77e1ec530b
commit a9aaed6f33
6 changed files with 91 additions and 3 deletions

View File

@@ -128,6 +128,12 @@ public:
API_FIELD(Attributes="EditorDisplay(\"Scene Animation\"), EditorOrder(80), DefaultValue(UpdateModes.EveryUpdate)")
UpdateModes UpdateMode = UpdateModes::EveryUpdate;
/// <summary>
/// Determines whether the scene animation should automatically map prefab objects from scene animation into prefab instances. Useful for reusable animations to automatically link prefab objects.
/// </summary>
API_FIELD(Attributes="EditorDisplay(\"Scene Animation\"), EditorOrder(100)")
bool UsePrefabObjects = false;
public:
/// <summary>