// Update is called once per frame void Update() { snakehead.Update(); snakehead.PlayerInput(); CheckEat(snakehead, fruits); UpdateFruit(); }