Skip to content

Instantly share code, notes, and snippets.

@pnegri
Created April 17, 2014 03:45
Show Gist options
  • Save pnegri/10951469 to your computer and use it in GitHub Desktop.
Save pnegri/10951469 to your computer and use it in GitHub Desktop.
Shot of BP being used
http://screencloud.net/v/ngaM
UFUNCTION(BlueprintCallable, Category = "ServerProxy")
static TSubclassOf<AActor> FindGOCByString(const FString name);
TSubclassOf<AActor> UServerProxyBlueprintLibrary::FindGOCByString(const FString name)
{
return (TSubclassOf<AActor>)FindObject<UClass>(ANY_PACKAGE, *name);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment