This vs GetWordl()

I understand that you can use ‘this’ or GetWorld() interchangeably (for getting the UObject* WorldContextObject) but using both in the same BeginPlay() function is bizarre. There must be a reason for using one over another, even if it’s only a convention that you use one style for certain API functions?

Privacy & Terms