This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<bool> DoSomethingAsync() | |
{ | |
return true; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IObservable<double> pos | |
= from joint in joints | |
select | |
(joint[JointType.FootLeft].Position.Y | |
+ joint[JointType.FootRight].Position.Y) / 2.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static async Task AnimateShakeAsync(UIView view) | |
{ | |
await AnimateHorizontalMovementAsync(view, -10); | |
await AnimateHorizontalMovementAsync(view, 20); | |
await AnimateHorizontalMovementAsync(view, -20); | |
await AnimateHorizontalMovementAsync(view, 20); | |
await AnimateHorizontalMovementAsync(view, -15); | |
await AnimateHorizontalMovementAsync(view, 10); | |
await AnimateHorizontalMovementAsync(view, -5); | |
} |
NewerOlder