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