UE中委托的使用很广泛,许多Event的触发都有对应的虚函数和委托,虚函数不用讲,只能在派生类中使用,而委托可以在别的类或者蓝图中使用,就应用范围而言,委托的使用更灵活.以AActor的 /** * Event when this actor overlaps another actor, for example a player walking into a trigger. * For events when objects have a blocking collision, for ex…
1.Run external .exe file TCHAR* url = TEXT("C:\\windows\\system32\\calc.exe"); FPlatformProcess::CreateProc(url, nullptr, , nullptr, nullptr);//If you want to open .exe file with some paramsFPlatformProcess::CreateProc(url, TEXT("-MyFlag -F…