Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
OlssonDev committed Aug 25, 2024
1 parent eab17f6 commit 44ec5b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delegates.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ nav_order: 5
---
# Delegates

**This is only for delegates exposed to Unreal Engine through UFunction/UProperty**
**This is only for C# delegates you want to expose to Unreal Engine through UFunction/UProperty.**

## Delegate Declaration

Expand All @@ -17,7 +17,7 @@ Delegates exposed to Unreal Engine needs to have parameters that are supported b
// Multicast delegates.
public delegate void MyShowcaseMulticastDelegate(int a);

// Single delegates. They need the USingleAttribute for UnrealSharp to generate the correct glue to communicate with C++.
// Single delegates. They need the USingleDelegate attribute for UnrealSharp to generate the correct glue to communicate with C++.
[USingleDelegate]
public delegate void MyShowcaseDelegate(int a);
```
Expand Down

0 comments on commit 44ec5b0

Please sign in to comment.