void Awake() { AI = GetComponent <SnakeAI> (); boxCollider = GetComponent <BoxCollider2D> (); snakeMeshContainer = GetComponentInChildren <SnakeMeshContainer> (); ownedGroundPieces = new List <GroundPiece> (); }
void Awake() { AI = GetComponent <SnakeAI> (); boxCollider = GetComponent <BoxCollider2D> (); snakeMeshContainer = GetComponentInChildren <SnakeMeshContainer> (); ownedGroundPieces = new List <GroundPiece> (); }