Fix calling OnParentChanged in Actor load
This commit is contained in:
@@ -156,6 +156,9 @@ void UIControl::OnParentChanged()
|
||||
// Base
|
||||
Actor::OnParentChanged();
|
||||
|
||||
if (!IsDuringPlay())
|
||||
return;
|
||||
|
||||
UICONTROL_INVOKE(ParentChanged);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user