About GetWorld()

Discussion
I can not see the functions that I can use when I code. Red line appears when I use GetWorld(). May I get help?

Because your accessing members of UWorld and intellisense isn’t aware of what members UWorld has. You would need to include the header for that type.
@sampattuzzi goes over how to find headers for types in depth in the lecture “Include What You Use For 4.17+”

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms