I’m following the programming tutorial here: link text
When extending the class BatteryPickup from the previous class created (in the previous video it was “PickUp”) the video takes the viewer through using the Class wizard, where you select the parent class from which to extend (PickUp) and then create a child of that. In the video Upon creation of this extension, UE4 asks if you’d like to edit this code, she clicks yes, then her Visual studio asks if she’d like to reload the project. This does not occur for me. Any ideas why?
Additionally, when I’m looking at the .h, and .cpp files that are created for this class extension I notice that the .cpp does not contain
ABatteryPickup::ABatteryPickup(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
Just below the headers. I have to manually add this part. Upon compiling this code after completing the steps she indicates, I get and error that says the float value PowerLevel is a private member. This doesn’t make sense. I suspect something strange is going on. I’ve not listed the variable as a private member.