Why const UFUNCTIONS?
When interacting with blueprints though C++, you can modify the C++ members through
I have a situation where I want UMG to launch a rocket to another planet when I hit a button, and have the rocket class internally track the destination until it arrives:
I also have a function that should allow UMG to set the rocket's location based on actor and offset from the actor:
Abstracting away members and variables is nice way to keep classes bug-free, so I'm slightly confused as to why OOP getters and setters are not allowed in UFUNCTIONS.
Am I missing something here?
Thank you, BeariksonStudios
asked Dec 13 '14 at 07:50 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here