C++ Newbie: Reference of custom ViewportClient class in custom HUD class
Hello there. I would like a reference of my custom UGameViewportClient class inside of my custom HUD class to access all the input of keystrokes for an input textfield.
I did the following...
In the SomHUD.h:
and in the SomHUD.cpp Constructer:
Also I did set the custom viewport class as a default in the editor. Did I do something wrong? Because I seam to get only the Base Class of the viewport (UGameViewportClient) in my SomViewportClient Variable...
Thanks in advance
asked Jul 29 '14 at 10:53 PM in C++ Programming
You need to set your custom viewport class as default viewport class, you can do it in Edit->Project Settings->General Settings->Default Classes
answered Jul 29 '14 at 11:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here