EM_Task/UnrealEd/Private/PropertyEditorTestObject.cpp

13 lines
345 B
C++
Raw Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
#include "Editor/PropertyEditorTestObject.h"
bool UPropertyEditorTestObject::CanEditChange(const FProperty* InProperty) const
{
if (InProperty->GetFName() == GET_MEMBER_NAME_CHECKED(UPropertyEditorTestObject, DisabledByCanEditChange))
{
return false;
}
return true;
}