Author Topic: There seems to be no way to remove parameterized methods.  (Read 3654 times)

mulova

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
There seems to be no way to remove parameterized methods.
« on: April 02, 2014, 08:50:21 PM »
3.5.6 rc1 is so useful for me because of the parameterized EventDelegate!  ;D
But there is no way to remove the EventDelegate with parameters after adding it to the list by script.
« Last Edit: April 02, 2014, 09:24:24 PM by mulova »

mulova

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: There seems to be no way to remove parameterized methods.
« Reply #1 on: April 03, 2014, 10:17:31 AM »
And when adding EventDelegate with parameter value by script, paramter values are discareded
At EventDelegate.Add() method, new EventDelgate is created and added but paramters are not copied.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: There seems to be no way to remove parameterized methods.
« Reply #2 on: April 03, 2014, 09:15:08 PM »
I'll fix that, thanks!