// Use this for initialization void Start() { // Move the Snake every 300ms InvokeRepeating("Move", 0, 0.3f); food.Generate(); }
// Use this for initialization void Start() { food.Generate(); tail.Add(gameObject); }