private void HandleApply(object sender, EventArgs args) { System.Console.WriteLine("Clicked"); TiltAction action = new TiltAction(view.Item, ((Widgets.Tilt)effect).Angle); action.Activate(); Destroy(); }
public static extern int OnTilt(TiltAction action, int degree1, int degree2, int speed1 = 0, int speed2 = 0);