Announcement

Collapse
No announcement yet.

Assign delegate through class defaults

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Assign delegate through class defaults

    Is there a way to make a dynamic multicast delegate appear in the BP's defaults so the user can set it? Like this:


    Click image for larger version

Name:	a.png
Views:	96
Size:	54.1 KB
ID:	1561710

    I've looked at UPrimitiveComponent and the delegate just has a BlueprintAssignable UPROPERTY modifier (which I also have on my delegate). What am I missing? Is this a custom editor for components or what?

    I could just call bind to the delegate at BeginPlay but it is way nicer to bind it like this.

    Thanks
    C++ is awesome

    #2
    If you have it declared on a Component, on parent Blueprint it should just show up after you set "BlueprintAssignable"
    | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

    Comment


      #3
      Well, I have it declared on a UObject... That might be the issue.
      C++ is awesome

      Comment

      Working...
      X