[ShooterGame] Where in AShooterCharacter is AShooterWeapon defined?
This files come from the ShooterGame project that you can install for UE4.
In ShooterCharacter.cpp at line 690, there is a member function that uses an object CurrentWeapon which is a pointer of the class AShooterWeapon, it uses a member function AShooterWeapon::StartFire(), but in AShooterCharacter there is no definition of the AShooterWeapon class, so where does it get the memberfunction AShooterWeapon::StartFire() from?
Starting from line 277 of ShooterCharacter.h, you can see a declaration of CurrentWeapon pointer:
Where is the StartFire() member function defined??
asked Apr 29 '18 at 02:01 AM in C++ Programming
It's declared in the
answered Apr 29 '18 at 02:41 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here