DefineFunction(string name, Delegate actualFn).public void DrawSprite(string sprite, float x, float y, float w, float h, float rot, float grayscale01 = 0). DefineFunction to add this method to the list, for some reason, DefineFunction takes it in not as a System.Action or System.Func derivative like every other call, but as an <>f__AnonymousDelegate0 type, which cannot later be converted to a System.Action for invocation.DrawSprite is the only method for which this happens.

