Hello! Sorry, I’m completely new.
The point is that I have a C++ script for generating the ProceduralMeshComponent actor and I want to create a reference for it from GameMode BP in order to receive different data from it in any BP.
I don’t really like the search approach through Get Actor of Class, it looks not safe for me.
Maybe I’m wrong, but in any case I would like to know how to make a reference from a C++ actor to call it in the BP. What ChatGPT offers does not look very correct.
For example when game start in c++ actor inside BeginPlay creating reference to this instance. Then in BP GameMode I can assign this actor in gamemode context(?) and for example call it in some other BP like this Get GameMode → c++ Actor → DoSomething()
Is it possible?