Add alias to UKismetSystemLibrary::IsValid
This commit is contained in:
@@ -20,6 +20,7 @@ namespace SDK {
|
||||
class UConsole;
|
||||
class UInputSettings;
|
||||
class UKismetStringLibrary;
|
||||
class UKismetSystemLibrary;
|
||||
class UGameInstance;
|
||||
class ULocalPlayer;
|
||||
class APlayerController;
|
||||
@@ -29,6 +30,12 @@ namespace UC {
|
||||
class FString;
|
||||
}
|
||||
|
||||
// Templates
|
||||
template<typename T>
|
||||
inline bool IsValidUObj(T* obj) {
|
||||
return obj && SDK::UKismetSystemLibrary::IsValid(obj);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Prepare all visual effects to be toggled by pending them.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user