how to access level blueprint variable in cpp
I have a bool say : bool toggle which i created in level blueprint. Now i need to check that value in cpp code and perform an action if true.
asked Mar 05 '18 at 09:12 AM in C++ Programming
Whatever you do, do not do inside the level blueprint since Level Blueprint are unaccessable from different classes.. Use Gamestate or GameInstance to store your variables which should be read from different classes.
https://docs.unrealengine.com/latest/INT/Gameplay/Framework/QuickReference/ https://www.youtube.com/watch?v=K_4CWDxwufg http://shootertutorial.com/2015/05/30/configuring-new-project-ue4-main-classes-explanation/
answered Mar 05 '18 at 09:23 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here