UFUNCTION specifier Within=OuterClassName causes compile failure
I currenctly working on a something like uc state for my Character class.
Just like the UUTWeaponState in the UT project
But when I build the project there's always an error:
I tried forward declaration, inculding more related headers, but the error remains still.
What do I miss?
asked Jun 14 '19 at 10:56 AM in C++ Programming
Figured it out my self.
the Within specifier must be filled with FILENAME without extension， not the CLASSNAME that start with an A(for Actor) or U(for UOBject)
Hope this discovery could help the others someday
answered Jun 17 '19 at 03:15 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here