sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
class TimeLimitedPaginator(Paginator): | |
""" | |
Paginator that enforced a timeout on the count operation. | |
When the timeout is reached a "fake" large value is returned instead, | |
Why does this hack exist? On every admin list view, Django issues a | |
COUNT on the full queryset. There is no simple workaround. On big tables, | |
this COUNT is extremely slow and makes things unbearable. This solution | |
is what we came up with. | |
""" |
using UnityEngine; | |
using System.Collections; | |
public class Mover : MonoBehaviour | |
{ | |
public Waypoint[] wayPoints; | |
public float speed = 3f; | |
public bool isCircular; | |
// Always true at the beginning because the moving object will always move towards the first waypoint | |
public bool inReverse = true; |