Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurvyEvents problems in AOT environment
#3
Ok, this could be a quick hack:

First, change mCallsCount type from PropertyInfo to MethodInfo.

Then, change the two lines you mentioned in HasListeners() to:

Code:
mCallsCount = mCallerList.GetType().PropertyByName("Count").GetGetMethod();

and further down:

Code:
mCount = (int)mCallsCount.Invoke(mCallerList, null);

That should do the trick!
Reply


Messages In This Thread
RE: CurvyEvents problems in AOT environment - by Jake - 07-09-2016, 07:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems compiling after pulling down project from source control obscurelyme 2 13 02-13-2022, 03:47 PM
Last Post: Marco Schultz
Question How to tell if a spline is straight? / Optimize problems with straight splines MarioBag 3 21 12-27-2021, 05:25 PM
Last Post: _Aka_
  Problems with spline prefab topquarkone 3 436 09-15-2021, 08:47 PM
Last Post: _Aka_
  Timing problems Lupp_ 4 1,338 01-15-2021, 05:11 PM
Last Post: _Aka_

Forum Jump: