hank you for your reply. I have a general idea.Is it a good way to get private components using FORCEINLINE macros?Is there a better way to get private components?`
class MYTOWERDEFENSE_API ARuleOfTheCharacter :
{
GENERATED_BODY()
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "BaseAttribute", meta = (AllowPrivateAccess = "true"))
class USceneComponent * HomingPoint;
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "BaseAttribute", meta = (AllowPrivateAccess = "true"))
class UWidgetComponent * ShowUMG;
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "BaseAttribute", meta = (AllowPrivateAccess = "true"))
class USceneComponent * ShowAttribute;
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "BaseAttribute", meta = (AllowPrivateAccess = "true"))
class UArrowComponent * OpenFirePoint;
public:
// FORCEINLINE UArrowComponent * GetSpawnPoint() { return OpenFirePoint;}
// FORCEINLINE USceneComponent * GetHomingPoint() { return HomingPoint;}