johnsoncodehk/unity-ui-controller

Delegate and expression errors

claydegruchy opened this issue · 2 comments

I seem to be getting two errors on load with Unity 5.5.1f1 personal:
Assets/UIController/Scripts/UIControllerStateMachine.cs(23,58): error CS1660: Cannot convert 'lambda expression' to non-delegate type 'Action'

and

Assets/UIController/Scripts/UIControllerStateMachine.cs(46,3): error CS0119: Expression denotes a 'variable', where a 'method group' was expected

Any ideas?

#2

I can't get your error in Unity 5.5.1(OSX), but I try to fix, please tall me if working or not, I will update to Asset Store in next version.

UIControllerStateMachine.cs

Perfect, this works great. I don't have anything else funky going on which would be interrupting the original (that I know of) but this definitely fixed my issue.

Thanks for the help.