klawr
klawr copied to clipboard
Set default parameter values in C# wrapper classes based on UFunction metadata
For example this function in UAnimInstance:
UFUNCTION(BlueprintCallable, Category="Animation", meta=(InBlendOutTime="0.25")) void Montage_Stop(float InBlendOutTime);
Has a default value specified for the InBlendOutTime so the corresponding C# wrapper should have a method like this:
public void Montage_Stop(float InBlendOutTime = 0.25f) { ... }