C++ Sprite not loading
I think there is a little bit of a misunderstanding regarding class inheritance. Your 'ACCPSpawner' class inherits from 'APaperSpriteActor' which main purpose is to provide a 'UPaperSpriteComponent'. So you don't need to add another 'UPaperSpriteComponent' in 'ACCPSpawner' class.
Now, to initialize the sprite of the Paper Sprite component stored inside 'APaperSpriteActor' class from your own class, do as follows :
MyPaperSpriteActor.h (which is 'ACCPSpawner' class in your project)
P.S. Please, next time post your c++ code as text, not as images.
Hope it helps!
answered Mar 20 '19 at 01:51 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here