void FStateTreeTask_DSSet::OnBindingChanged(const FGuid& ID, FStateTreeDataView InstanceData,
const FStateTreePropertyPath& SourcePath,
const FStateTreePropertyPath& TargetPath,
const IStateTreeBindingLookup& BindingLookup)
{
FStateTreeTaskCommonBase::OnBindingChanged(ID, InstanceData, SourcePath, TargetPath, BindingLookup);
if (!TargetPath.GetStructID().IsValid())
{
return;
}
const auto Instance = InstanceData.GetMutablePtr<USomeInstanceData>();
if (!TargetPath.IsPathEmpty() && TargetPath.GetSegments().Last().GetName() == GET_MEMBER_NAME_CHECKED(
SomeBaseType, BaseTypeField))
{
// How to Get actual binding type which is a child class of SomeBaseType?
}
}