Fix UIControl location deserialization when using prefabs and anchors
#218
This commit is contained in:
@@ -296,6 +296,9 @@ namespace FlaxEngine
|
||||
if (_control != null)
|
||||
{
|
||||
Json.JsonSerializer.Deserialize(_control, json);
|
||||
|
||||
// Synchronize actor with control location
|
||||
OnControlLocationChanged(_control);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user