your .h file should already have the needed headers if you created the custom cpp class from within the engine. Simply append the code above rather then replace the whole file and it should do.
your .h file should already have the needed headers if you created the custom cpp class from within the engine. Simply append the code above rather then replace the whole file and it should do.