如需转载本文,请声明作者及出处。
UParticleModuleEventSendToGame can send the events of particle emit to the game, but no used example can be found in the source code or document。
To use it, you need to do the following:
1.send events https://github.com/EpicGames/UnrealEngine/pull/1522/commits
2.Implement your derived class
UCLASS()
class UParticleEventXXXX : public UParticleModuleEventSendToGame
{
GENERATED_UCLASS_BODY()
//
Member variables
virtual void DoEvent(...);
};
void UParticleEventXXXX::DoEvent(...) {
// any thing
}
3.You can see your derived classes here
4.Select your derived class,