Add serialization of game settings for proper upgrade when loading deprecated data
This commit is contained in:
@@ -143,7 +143,7 @@ public:
|
||||
float TriangleMeshTriangleMinAreaThreshold = 5.0f;
|
||||
|
||||
/// <summary>
|
||||
/// If enabled, any Raycast or other scene query that intersects with a Collider marked as a Trigger will returns with a hit. Individual raycasts can override this behavior.
|
||||
/// If enabled, any Raycast or other scene query that intersects with a Collider marked as a Trigger will return with a hit. Individual raycasts can override this behavior.
|
||||
/// </summary>
|
||||
API_FIELD(Attributes="EditorOrder(1200), EditorDisplay(\"Other\")")
|
||||
bool QueriesHitTriggers = true;
|
||||
@@ -166,5 +166,8 @@ public:
|
||||
|
||||
// [SettingsBase]
|
||||
void Apply() override;
|
||||
#if USE_EDITOR
|
||||
void Serialize(SerializeStream& stream, const void* otherObj) override;
|
||||
#endif
|
||||
void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) final override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user